Skip to content

Commit

Permalink
fix(src\illuminate\Database): change @return from static to void (#50592
Browse files Browse the repository at this point in the history
)

- InvalidCastException.php
- LazyLoadingViolationException.php
  • Loading branch information
saMahmoudzadeh authored Mar 15, 2024
1 parent f8cb004 commit 84526c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/InvalidCastException.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class InvalidCastException extends RuntimeException
* @param object $model
* @param string $column
* @param string $castType
* @return static
* @return void
*/
public function __construct($model, $column, $castType)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/LazyLoadingViolationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LazyLoadingViolationException extends RuntimeException
*
* @param object $model
* @param string $relation
* @return static
* @return void
*/
public function __construct($model, $relation)
{
Expand Down

0 comments on commit 84526c9

Please sign in to comment.