phabel/src/Target/Php71/IterableHint.php

28 lines
440 B
PHP
Raw Normal View History

2020-08-03 21:31:32 +02:00
<?php
2020-10-04 19:58:02 +02:00
namespace Phabel\Target\Php71;
2020-08-03 21:31:32 +02:00
use Phabel\Plugin;
use Phabel\Plugin\TypeHintStripper;
2020-09-05 22:35:30 +02:00
/**
* @author Daniil Gentili <daniil@daniil.it>
* @license MIT
*/
2020-10-04 19:58:02 +02:00
class IterableHint extends Plugin
2020-08-03 21:31:32 +02:00
{
/**
* Alias.
*
* @return array
*/
2020-08-09 13:49:19 +02:00
public static function runAfter(): array
2020-08-03 21:31:32 +02:00
{
return [
TypeHintStripper::class => [
2020-10-04 19:58:02 +02:00
'types' => ['iterable']
2020-08-03 21:31:32 +02:00
]
];
}
}