Skip to content

Commit acaf4d3

Browse files
authored
Merge pull request #5505 from Laravel-Backpack/fix-doc-blocks
Fix doc blocks in Traits\Settings
2 parents f576488 + 177c206 commit acaf4d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/Library/CrudPanel/Traits/Settings.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait Settings
1515
* Getter for the settings key-value store.
1616
*
1717
* @param string $key Usually operation.name (ex: list.exportButtons)
18-
* @return mixed [description]
18+
* @return mixed Setting value or null
1919
*/
2020
public function get(string $key)
2121
{
@@ -96,7 +96,7 @@ public function operationSetting(string $key, $value = null, $operation = null)
9696
* Defaults to the current operation.
9797
*
9898
* @param string $key Has no operation prepended. (ex: exportButtons)
99-
* @return mixed [description]
99+
* @return mixed Setting value or null
100100
*/
101101
public function getOperationSetting(string $key, $operation = null)
102102
{
@@ -110,7 +110,7 @@ public function getOperationSetting(string $key, $operation = null)
110110
* Defaults to the current operation.
111111
*
112112
* @param string $key Has no operation prepended. (ex: exportButtons)
113-
* @return mixed [description]
113+
* @return bool
114114
*/
115115
public function hasOperationSetting(string $key, $operation = null)
116116
{
@@ -124,7 +124,7 @@ public function hasOperationSetting(string $key, $operation = null)
124124
* Defaults to the current operation.
125125
*
126126
* @param string $key Has no operation prepended. (ex: max_level)
127-
* @param bool $value True/false depending on success.
127+
* @param mixed $value The value you want to store.
128128
*/
129129
public function setOperationSetting(string $key, $value, $operation = null)
130130
{

0 commit comments

Comments
 (0)