8000 [Docs] Fix docblock return type in validators stub (#546) · nelson6e65/laravel-json-api@9bfbdd8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bfbdd8

Browse files
[Docs] Fix docblock return type in validators stub (cloudcreativity#546)
Docblock has incorrect return type 'mixed', should be 'array'
1 parent fd9fdbd commit 9bfbdd8

File tree

1 file changed
+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/independent/validators.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class DummyClass extends AbstractValidators
3838
* the record being updated, or null if creating a resource.
3939
* @param array $data
4040
* the data being validated
41-
* @return mixed
41+
* @return array
4242
*/
4343
protected function rules($record, array $data): array
4444
{

0 commit comments

Comments
 (0)
0