From f781de9914e3dc0e393fa8716a13afd97332ba0c Mon Sep 17 00:00:00 2001 From: Craig Francis Date: Wed, 13 Oct 2021 18:15:31 +0100 Subject: [PATCH] Start experiment with 'literal-string' type --- RedBeanPHP/Facade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RedBeanPHP/Facade.php b/RedBeanPHP/Facade.php index 078fa363..42f55157 100644 --- a/RedBeanPHP/Facade.php +++ b/RedBeanPHP/Facade.php @@ -985,6 +985,9 @@ public static function findOneOrDispense( $type, $sql = NULL, $bindings = array( * @param array $bindings array of values to be bound to parameters in query * @param string $snippet SQL snippet to include in query (for example: FOR UPDATE) * + * @phpstan-param literal-string|null $sql + * @psalm-param literal-string|null $sql + * * @return array */ public static function find( $type, $sql = NULL, $bindings = array(), $snippet = NULL )