fix: resolve PHPstan errors

This commit is contained in:
Michael Thomas 2024-03-09 13:02:04 -05:00
parent c4bf2aae7d
commit 1ec830521a
3 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Rules;
use Closure;

View File

@ -133,7 +133,7 @@ class ActionExpression
return $this->validationError === null;
}
public function getValidationError()
public function getValidationError(): ?SyntaxError
{
return $this->validationError;
}

View File

@ -20,6 +20,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\TransactionRules\Expressions;
use Symfony\Component\ExpressionLanguage\ExpressionFunction;