Skip to content

Commit 48fbe21

Browse files
authored
fix phpdoc return type of HasAttributes::getArrayAttributeWithValue (#57691)
Change incorrect phpdoc from `@return $this` to `@return array`
1 parent 89b94b9 commit 48fbe21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ protected function getStorableEnumValue($expectedEnum, $value)
13141314
* @param string $path
13151315
* @param string $key
13161316
* @param mixed $value
1317-
* @return $this
1317+
* @return array
13181318
*/
13191319
protected function getArrayAttributeWithValue($path, $key, $value)
13201320
{

0 commit comments

Comments
 (0)