Skip to content

Commit

Permalink
Merge pull request #873 from craigfrancis/iteral-string
Browse files Browse the repository at this point in the history
Start experiment with 'literal-string' type
  • Loading branch information
gabordemooij authored Oct 23, 2021
2 parents 87f90c1 + f781de9 commit 0dcd10f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RedBeanPHP/Facade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 0dcd10f

Please sign in to comment.