Skip to content

Commit 2f70782

Browse files
mrvipchiencuong.tt
andauthored
Update PHPDoc annotations for clarity and accuracy (#56321)
Co-authored-by: cuong.tt <[email protected]>
1 parent f866540 commit 2f70782

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Illuminate/Validation/Concerns/ValidatesAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ public function parseTable($table)
11231123
*
11241124
* @param array<int, int|string> $parameters
11251125
* @param string $attribute
1126-
* @return bool
1126+
* @return int|string
11271127
*/
11281128
public function getQueryColumn($parameters, $attribute)
11291129
{

src/Illuminate/Validation/Rule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public static function numeric()
250250
/**
251251
* Get an "any of" rule builder instance.
252252
*
253-
* @param array
253+
* @param array $rules
254254
* @return \Illuminate\Validation\Rules\AnyOf
255255
*
256256
* @throws \InvalidArgumentException

src/Illuminate/Validation/Rules/ArrayRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ArrayRule implements Stringable
1919
/**
2020
* Create a new array rule instance.
2121
*
22-
* @param array|null $keys
22+
* @param \Illuminate\Contracts\Support\Arrayable|array|null $keys
2323
*/
2424
public function __construct($keys = null)
2525
{

0 commit comments

Comments
 (0)