1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

Fix style

This commit is contained in:
Matt Brown 2021-06-10 18:29:08 -04:00
parent 06b89aa00a
commit 884043b47b

View File

@ -3,8 +3,8 @@ namespace Psalm\Internal\Provider\AddRemoveTaints;
use PhpParser;
use Psalm\Internal\Analyzer\StatementsAnalyzer;
use Psalm\Plugin\EventHandler\Event\AddRemoveTaintsEvent;
use Psalm\Plugin\EventHandler\AddTaintsInterface;
use Psalm\Plugin\EventHandler\Event\AddRemoveTaintsEvent;
use Psalm\Plugin\EventHandler\RemoveTaintsInterface;
class HtmlFunctionTainter implements AddTaintsInterface, RemoveTaintsInterface
@ -14,7 +14,8 @@ class HtmlFunctionTainter implements AddTaintsInterface, RemoveTaintsInterface
*
* @return list<string>
*/
public static function addTaints(AddRemoveTaintsEvent $event): array {
public static function addTaints(AddRemoveTaintsEvent $event): array
{
$item = $event->getExpr();
$statements_analyzer = $event->getStatementsSource();
@ -61,7 +62,8 @@ class HtmlFunctionTainter implements AddTaintsInterface, RemoveTaintsInterface
*
* @return list<string>
*/
public static function removeTaints(AddRemoveTaintsEvent $event): array {
public static function removeTaints(AddRemoveTaintsEvent $event): array
{
$item = $event->getExpr();
$statements_analyzer = $event->getStatementsSource();