Browse Source

Update psalm's baseline file.

ADmad 6 years ago
parent
commit
3697b1e5f7
2 changed files with 2 additions and 1 deletions
  1. 1 1
      psalm-baseline.xml
  2. 1 0
      src/basics.php

+ 1 - 1
psalm-baseline.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<files psalm-version="3.x-dev@56e66af6a2233a65378c16b1d5329a5aa8facbec">
+<files psalm-version="3.4.5@a0866da88e605adaa648e9f1ad37f4990650f55c">
   <file src="src/Auth/BaseAuthenticate.php">
     <PossiblyInvalidArrayOffset occurrences="1">
       <code>$hidden[$key]</code>

+ 1 - 0
src/basics.php

@@ -42,6 +42,7 @@ if (!function_exists('debug')) {
      * @return mixed The same $var that was passed
      * @link https://book.cakephp.org/3.0/en/development/debugging.html#basic-debugging
      * @link https://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#debug
+     * @psalm-suppress MissingReturnType
      */
     function debug($var, $showHtml = null, $showFrom = true)
     {