phabel/src/Target/Php72/ObjectTypeHintReplacer.php

24 lines
379 B
PHP
Raw Normal View History

2020-08-30 16:58:59 +02:00
<?php
namespace Phabel\Target\Php72;
use Phabel\Plugin;
use Phabel\Plugin\TypeHintStripper;
class ObjectTypeHintReplacer extends Plugin
{
/**
* Alias.
*
* @return array
*/
public static function runAfter(): array
{
return [
TypeHintStripper::class => [
'types' => ['object']
]
];
}
}