We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -69,7 +69,7 @@ |
||
69 | 69 | * |
70 | 70 | * @param array $columns - the database columns that contain the JSONs |
71 | 71 | * |
72 | - * @return Model |
|
72 | + * @return CrudTrait |
|
73 | 73 | */ |
74 | 74 | public function withFakes($columns = []) |
75 | 75 | { |
@@ -95,6 +95,12 @@ |
||
95 | 95 | public $type = 'view'; |
96 | 96 | public $content; |
97 | 97 | |
98 | + /** |
|
99 | + * @param string $stack |
|
100 | + * @param string $name |
|
101 | + * @param string $type |
|
102 | + * @param string $content |
|
103 | + */ |
|
98 | 104 | public function __construct($stack, $name, $type, $content) |
99 | 105 | { |
100 | 106 | $this->stack = $stack; |
@@ -11,6 +11,9 @@ |
||
11 | 11 | return $this->autoFocusOnFirstField; |
12 | 12 | } |
13 | 13 | |
14 | + /** |
|
15 | + * @param boolean $value |
|
16 | + */ |
|
14 | 17 | public function setAutoFocusOnFirstField($value) |
15 | 18 | { |
16 | 19 | return $this->autoFocusOnFirstField = (bool) $value; |
@@ -124,7 +124,7 @@ |
||
124 | 124 | |
125 | 125 | /** |
126 | 126 | * Determine if the current CRUD action is a list operation (using standard or ajax DataTables). |
127 | - * @return bool |
|
127 | + * @return boolean|null |
|
128 | 128 | */ |
129 | 129 | public function doingListOperation() |
130 | 130 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * |
16 | 16 | * @param int $id The id of the item to be deleted. |
17 | 17 | * |
18 | - * @return bool True if the item was deleted. |
|
18 | + * @return string True if the item was deleted. |
|
19 | 19 | * |
20 | 20 | * @throws \Illuminate\Database\Eloquent\ModelNotFoundException if the model was not found. |
21 | 21 | * |
@@ -123,6 +123,7 @@ |
||
123 | 123 | * |
124 | 124 | * @param [string] Route name. |
125 | 125 | * @param [array] Parameters. |
126 | + * @param string $route |
|
126 | 127 | */ |
127 | 128 | public function setRouteName($route, $parameters = []) |
128 | 129 | { |
@@ -12,12 +12,18 @@ |
||
12 | 12 | |-------------------------------------------------------------------------- |
13 | 13 | */ |
14 | 14 | |
15 | + /** |
|
16 | + * @param string $access |
|
17 | + */ |
|
15 | 18 | public function allowAccess($access) |
16 | 19 | { |
17 | 20 | // $this->addButtons((array)$access); |
18 | 21 | return $this->access = array_merge(array_diff((array) $access, $this->access), $this->access); |
19 | 22 | } |
20 | 23 | |
24 | + /** |
|
25 | + * @param string $access |
|
26 | + */ |
|
21 | 27 | public function denyAccess($access) |
22 | 28 | { |
23 | 29 | // $this->removeButtons((array)$access); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * been found. |
10 | 10 | * |
11 | 11 | * @param string $form The CRUD form. Can be 'create', 'update' or 'both'. Default is 'create'. |
12 | - * @param int|bool $id Optional entity ID needed in the case of the update form. |
|
12 | + * @param integer $id Optional entity ID needed in the case of the update form. |
|
13 | 13 | * @return array The fake columns array. |
14 | 14 | */ |
15 | 15 | public function getFakeColumnsAsArray($form = 'create', $id = false) |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | /** |
95 | 95 | * Move the most recently added column after the given target column. |
96 | 96 | * |
97 | - * @param string|array $targetColumn The target column name or array. |
|
97 | + * @param string $targetColumn The target column name or array. |
|
98 | 98 | */ |
99 | 99 | public function afterColumn($targetColumn) |
100 | 100 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Move the most recently added column before the given target column. |
106 | 106 | * |
107 | - * @param string|array $targetColumn The target column name or array. |
|
107 | + * @param string $targetColumn The target column name or array. |
|
108 | 108 | */ |
109 | 109 | public function beforeColumn($targetColumn) |
110 | 110 | { |
@@ -227,6 +227,7 @@ discard block |
||
227 | 227 | * |
228 | 228 | * @param [string] Column name. |
229 | 229 | * @param [attributes and values array] |
230 | + * @param string $column |
|
230 | 231 | */ |
231 | 232 | public function setColumnDetails($column, $attributes) |
232 | 233 | { |