Skip to content

Commit 8b94c3e

Browse files
authored
Update InteractsWithDictionary.php to use base InvalidArgumentException (#49209)
use base InvalidArgumentException instead of \Doctrine\Instantiator\Exception\InvalidArgumentException
1 parent e574ffa commit 8b94c3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithDictionary.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Illuminate\Database\Eloquent\Relations\Concerns;
44

55
use BackedEnum;
6-
use Doctrine\Instantiator\Exception\InvalidArgumentException;
6+
use InvalidArgumentException;
77
use UnitEnum;
88

99
trait InteractsWithDictionary
@@ -14,7 +14,7 @@ trait InteractsWithDictionary
1414
* @param mixed $attribute
1515
* @return mixed
1616
*
17-
* @throws \Doctrine\Instantiator\Exception\InvalidArgumentException
17+
* @throws \InvalidArgumentException
1818
*/
1919
protected function getDictionaryKey($attribute)
2020
{

0 commit comments

Comments
 (0)