Skip to content

Commit

Permalink
Update InteractsWithDictionary.php to use base InvalidArgumentExcepti…
Browse files Browse the repository at this point in the history
…on (#49209)

use base InvalidArgumentException instead of \Doctrine\Instantiator\Exception\InvalidArgumentException
  • Loading branch information
Grldk committed Dec 1, 2023
1 parent e574ffa commit 8b94c3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Illuminate\Database\Eloquent\Relations\Concerns;

use BackedEnum;
use Doctrine\Instantiator\Exception\InvalidArgumentException;
use InvalidArgumentException;
use UnitEnum;

trait InteractsWithDictionary
Expand All @@ -14,7 +14,7 @@ trait InteractsWithDictionary
* @param mixed $attribute
* @return mixed
*
* @throws \Doctrine\Instantiator\Exception\InvalidArgumentException
* @throws \InvalidArgumentException
*/
protected function getDictionaryKey($attribute)
{
Expand Down

0 comments on commit 8b94c3e

Please sign in to comment.