We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13c0316 commit abdd672Copy full SHA for abdd672
Caster/SplCaster.php
@@ -89,6 +89,8 @@ public static function castFileInfo(\SplFileInfo $c, array $a, Stub $stub, $isNe
89
];
90
91
$prefix = Caster::PREFIX_VIRTUAL;
92
+ unset($a["\0SplFileInfo\0fileName"]);
93
+ unset($a["\0SplFileInfo\0pathName"]);
94
95
if (false === $c->getPathname()) {
96
$a[$prefix.'⚠'] = 'The parent constructor was not called: the object is in an invalid state';
0 commit comments