Skip to content

Commit 78d6786

Browse files
authored
The set is expecting wrong param type
The set method is expects bool. Any documented use of this method though passes a string of the view name as second argument. Examples in the documentation: https://backpackforlaravel.com/docs/4.1/crud-api#custom-views
1 parent a526e8c commit 78d6786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function get(string $key)
2626
* Setter for the settings key-value store.
2727
*
2828
* @param string $key Usually operation.name (ex: reorder.max_level)
29-
* @param bool $value True/false depending on success.
29+
* @param string $value The value being set
3030
*/
3131
public function set(string $key, $value)
3232
{

0 commit comments

Comments
 (0)