Fix code quality with rector [skip ci]

This commit is contained in:
James Cole
2025-11-09 09:08:03 +01:00
parent d2610be790
commit 68183a0a0e
209 changed files with 1021 additions and 1248 deletions

View File

@@ -90,11 +90,11 @@ class ActionExpression
{
$this->expressionLanguage = app(ExpressionLanguage::class);
$this->isExpression = self::isExpression($this->expr);
$this->isExpression = $this->isExpression($this->expr);
$this->validationError = $this->validate();
}
private static function isExpression(string $expr): bool
private function isExpression(string $expr): bool
{
return str_starts_with($expr, '=') && strlen($expr) > 1;
}