Procházet zdrojové kódy

Merge pull request #605 from localheinz/fix/docblock

Fix: Type should be bool
Jordi Boggiano před 10 roky
rodič
revize
c5b08724f4
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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.
      * 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;
     }
     }
 
 
     /**
     /**