Skip to content

Commit

Permalink
Merge pull request #5505 from Laravel-Backpack/fix-doc-blocks
Browse files Browse the repository at this point in the history
Fix doc blocks in Traits\Settings
  • Loading branch information
pxpm authored Apr 19, 2024
2 parents f576488 + 177c206 commit acaf4d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/Library/CrudPanel/Traits/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait Settings
* Getter for the settings key-value store.
*
* @param string $key Usually operation.name (ex: list.exportButtons)
* @return mixed [description]
* @return mixed Setting value or null
*/
public function get(string $key)
{
Expand Down Expand Up @@ -96,7 +96,7 @@ public function operationSetting(string $key, $value = null, $operation = null)
* Defaults to the current operation.
*
* @param string $key Has no operation prepended. (ex: exportButtons)
* @return mixed [description]
* @return mixed Setting value or null
*/
public function getOperationSetting(string $key, $operation = null)
{
Expand All @@ -110,7 +110,7 @@ public function getOperationSetting(string $key, $operation = null)
* Defaults to the current operation.
*
* @param string $key Has no operation prepended. (ex: exportButtons)
* @return mixed [description]
* @return bool
*/
public function hasOperationSetting(string $key, $operation = null)
{
Expand All @@ -124,7 +124,7 @@ public function hasOperationSetting(string $key, $operation = null)
* Defaults to the current operation.
*
* @param string $key Has no operation prepended. (ex: max_level)
* @param bool $value True/false depending on success.
* @param mixed $value The value you want to store.
*/
public function setOperationSetting(string $key, $value, $operation = null)
{
Expand Down

0 comments on commit acaf4d3

Please sign in to comment.