fix: noverify --fix

This commit is contained in:
origami11@yandex.ru 2024-06-14 14:12:02 +03:00
parent 5aff28d2b8
commit 117640a755
44 changed files with 174 additions and 174 deletions

View file

@ -24,7 +24,7 @@ class Manager extends Filter
*/
public function addConditionGet($get, Filter $layout)
{
$this->addCondition(Functions::rcurry(array($this, 'checkGet'), $get), $layout);
$this->addCondition(Functions::rcurry([$this, 'checkGet'], $get), $layout);
}
/**
@ -32,7 +32,7 @@ class Manager extends Filter
*/
public function addConditionXHR($get, Filter $layout)
{
$this->addCondition(Functions::rcurry(array($this, 'checkXHR'), $get), $layout);
$this->addCondition(Functions::rcurry([$this, 'checkXHR'], $get), $layout);
}
public function checkGet($request/*: HttpRequest*/, $get)
@ -59,7 +59,7 @@ class Manager extends Filter
*/
public function addCondition($get, Filter $layout)
{
$this->condition [] = array($get, $layout);
$this->condition [] = [$get, $layout];
}
/**