Simplify
This commit is contained in:
parent
aa77741995
commit
c409c34cd8
|
|
@ -164,7 +164,7 @@ final class Exporter
|
|||
// private $propertyName => "\0ClassName\0propertyName"
|
||||
// protected $propertyName => "\0*\0propertyName"
|
||||
// public $propertyName => "propertyName"
|
||||
if (preg_match('/^\0.+\0(.+)$/', (string) $key, $matches)) {
|
||||
if (preg_match('/\0.+\0(.+)/', (string) $key, $matches)) {
|
||||
$key = $matches[1];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue