Parcourir la source

Merge pull request #604 from localheinz/fix/undefined-class

Fix: Use FQCNs for exceptions in docblock, too
Jordi Boggiano il y a 10 ans
Parent
commit
0ea238bd45
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/Monolog/Handler/CubeHandler.php

+ 2 - 2
src/Monolog/Handler/CubeHandler.php

@@ -31,7 +31,7 @@ class CubeHandler extends AbstractProcessingHandler
     /**
      * Create a Cube handler
      *
-     * @throws UnexpectedValueException when given url is not a valid url.
+     * @throws \UnexpectedValueException when given url is not a valid url.
      *                                  A valid url must consists of three parts : protocol://host:port
      *                                  Only valid protocol used by Cube are http and udp
      */
@@ -59,7 +59,7 @@ class CubeHandler extends AbstractProcessingHandler
     /**
      * Establish a connection to an UDP socket
      *
-     * @throws LogicException when unable to connect to the socket
+     * @throws \LogicException when unable to connect to the socket
      */
     protected function connectUdp()
     {