Sfoglia il codice sorgente

Merge pull request #605 from localheinz/fix/docblock

Fix: Type should be bool
Jordi Boggiano 10 anni fa
parent
commit
c5b08724f4
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/Monolog/Handler/SocketHandler.php

+ 3 - 3
src/Monolog/Handler/SocketHandler.php

@@ -80,11 +80,11 @@ class SocketHandler extends AbstractProcessingHandler
     /**
      * Set socket connection to nbe persistent. It only has effect before the connection is initiated.
      *
-     * @param type $boolean
+     * @param boolean $persistent
      */
-    public function setPersistent($boolean)
+    public function setPersistent($persistent)
     {
-        $this->persistent = (boolean) $boolean;
+        $this->persistent = (boolean) $persistent;
     }
 
     /**