Skip to content

Commit 6d2a0d0

Browse files
mrvipchiencuong.tt
andauthored
Fix PHPDOc for dataForSometimesIteration (#56229)
Co-authored-by: cuong.tt <[email protected]>
1 parent e57ee26 commit 6d2a0d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Validation/Validator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,9 +1287,10 @@ public function sometimes($attribute, $rules, callable $callback)
12871287
* Get the data that should be injected into the iteration of a wildcard "sometimes" callback.
12881288
*
12891289
* @param string $attribute
1290+
* @param bool $removeLastSegmentOfAttribute
12901291
* @return \Illuminate\Support\Fluent|array|mixed
12911292
*/
1292-
private function dataForSometimesIteration(string $attribute, $removeLastSegmentOfAttribute)
1293+
private function dataForSometimesIteration(string $attribute, bool $removeLastSegmentOfAttribute)
12931294
{
12941295
$lastSegmentOfAttribute = strrchr($attribute, '.');
12951296

0 commit comments

Comments
 (0)