Skip to content

Commit 6262237

Browse files
authored
feat: make Model::currentEncrypter public (#56130)
1 parent c895495 commit 6262237

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
@@ -1436,7 +1436,7 @@ public static function encryptUsing($encrypter)
14361436
*
14371437
* @return \Illuminate\Contracts\Encryption\Encrypter
14381438
*/
1439-
protected static function currentEncrypter()
1439+
public static function currentEncrypter()
14401440
{
14411441
return static::$encrypter ?? Crypt::getFacadeRoot();
14421442
}

0 commit comments

Comments
 (0)