Test Setup Failed
Branch master (635c37)
by Pol
06:29
created
src/Examples/Coin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
   protected $face;
16 16
 
17 17
   /**
18
-   * @return array
18
+   * @return string
19 19
    */
20 20
   function flip() {
21 21
     $result = $this->randomOrgAPI->call('generateIntegers', ['n' => 1, 'min' => 0, 'max' => 1])
Please login to merge, or discard this patch.
src/RandomOrgAPI.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,6 +183,7 @@  discard block
 block discarded – undo
183 183
   /**
184 184
    * Set the API version.
185 185
    *
186
+   * @param integer $version
186 187
    * @return int
187 188
    */
188 189
   public function setApiVersion($version) {
@@ -230,7 +231,7 @@  discard block
 block discarded – undo
230 231
   /**
231 232
    * Get the response.
232 233
    *
233
-   * @return bool|\Psr\Http\Message\ResponseInterface
234
+   * @return null|ResponseInterface
234 235
    */
235 236
   public function getResponse() {
236 237
     return $this->response;
Please login to merge, or discard this patch.
src/Utilities/ClassFinder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
   const appRoot = __DIR__ . "/../../";
16 16
 
17 17
   /**
18
-   * @param $namespace
18
+   * @param string $namespace
19 19
    *
20 20
    * @return array
21 21
    */
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
   /**
47 47
    * @param $namespace
48 48
    *
49
-   * @return bool|string
49
+   * @return string|false
50 50
    */
51 51
   private static function getNamespaceDirectory($namespace) {
52 52
     $composerNamespaces = self::getDefinedNamespaces();
Please login to merge, or discard this patch.
src/Plugin/MethodPluginBase.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,9 @@
 block discarded – undo
62 62
     $params = [];
63 63
     foreach($this->getDefaultParameters() as $key => $parameter) {
64 64
       if (in_array($this->getApiVersion(), (array) $defaultParameters[$key]['api'])) {
65
-        if (!is_null($parameter['value']))
66
-          $params[$key] = $parameter['value'];
65
+        if (!is_null($parameter['value'])) {
66
+                  $params[$key] = $parameter['value'];
67
+        }
67 68
       }
68 69
     }
69 70
 
Please login to merge, or discard this patch.