@@ -35,22 +35,16 @@ abstract class Action implements JsonSerializable
3535
3636 /**
3737 * Number of models into a chunk when action for 'all'.
38- *
39- * @var int
4038 */
4139 public static int $ chunkCount = 200 ;
4240
4341 /**
4442 * Indicated if this action don't require any models.
45- *
46- * @var bool
4743 */
4844 public bool $ standalone = false ;
4945
5046 /**
5147 * Indicates if Restify should skip the field default update behavior in case it's actionable field.
52- *
53- * @var bool
5448 */
5549 public bool $ skipFieldFill = true ;
5650
@@ -68,8 +62,6 @@ public static function indexQuery(RestifyRequest $request, $query)
6862
6963 /**
7064 * The callback used to authorize running the action.
71- *
72- * @var Closure|null
7365 */
7466 public ?Closure $ runCallback ;
7567
@@ -91,7 +83,6 @@ public function uriKey()
9183 /**
9284 * Determine if the action is executable for the given request.
9385 *
94- * @param Request $request
9586 * @param Model $model
9687 * @return bool
9788 */
@@ -103,7 +94,6 @@ public function authorizedToRun(Request $request, $model)
10394 /**
10495 * Set the callback to be run to authorize running the action.
10596 *
106- * @param Closure $callback
10797 * @return $this
10898 */
10999 public function canRun (Closure $ callback )
@@ -116,7 +106,6 @@ public function canRun(Closure $callback)
116106 /**
117107 * Get the payload available on the action.
118108 *
119- * @return array
120109 *
121110 * @deprecated Use rules instead
122111 */
@@ -127,8 +116,6 @@ public function payload(): array
127116
128117 /**
129118 * Validation rules to be applied before the action is called.
130- *
131- * @return array
132119 */
133120 public function rules (): array
134121 {
@@ -137,9 +124,6 @@ public function rules(): array
137124
138125 /**
139126 * Make current action being standalone. No model query will be performed.
140- *
141- * @param bool $standalone
142- * @return self
143127 */
144128 public function standalone (bool $ standalone = true ): self
145129 {
@@ -150,8 +134,6 @@ public function standalone(bool $standalone = true): self
150134
151135 /**
152136 * Check if the action is standalone.
153- *
154- * @return bool
155137 */
156138 public function isStandalone (): bool
157139 {
0 commit comments