Skip to content

Commit 0dcd10f

Browse files
authored
Merge pull request #873 from craigfrancis/iteral-string
Start experiment with 'literal-string' type
2 parents 87f90c1 + f781de9 commit 0dcd10f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

RedBeanPHP/Facade.php

+3
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,9 @@ public static function findOneOrDispense( $type, $sql = NULL, $bindings = array(
985985
* @param array $bindings array of values to be bound to parameters in query
986986
* @param string $snippet SQL snippet to include in query (for example: FOR UPDATE)
987987
*
988+
* @phpstan-param literal-string|null $sql
989+
* @psalm-param literal-string|null $sql
990+
*
988991
* @return array
989992
*/
990993
public static function find( $type, $sql = NULL, $bindings = array(), $snippet = NULL )

0 commit comments

Comments
 (0)