Skip to content

Commit

Permalink
Format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Nov 8, 2022
1 parent 0bed40d commit 7ae85c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TinkerCaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Exception;
use ReflectionException;
use ReflectionObject;
use Symfony\Component\VarDumper\Caster\Caster;

class TinkerCaster
Expand Down Expand Up @@ -153,7 +154,7 @@ public static function castModel($model): array
*/
public static function castRedis($redis): array
{
$refObject = new \ReflectionObject($redis);
$refObject = new ReflectionObject($redis);
$refProperty = $refObject->getProperty('poolName');
$refProperty->setAccessible(true);

Expand Down

0 comments on commit 7ae85c7

Please sign in to comment.