Completed
Push — master ( dc16a8...a0dbc9 )
by Jonathan
04:38
created
src/AbstractReportingCloud.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     /**
323 323
      * Return the test flag
324 324
      *
325
-     * @return mixed
325
+     * @return boolean
326 326
      */
327 327
     public function getTest()
328 328
     {
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     /**
351 351
      * Return the debug flag
352 352
      *
353
-     * @return mixed
353
+     * @return boolean
354 354
      */
355 355
     public function getDebug()
356 356
     {
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
      * @param string $uri     URI
411 411
      * @param array  $options Options
412 412
      *
413
-     * @return mixed|null|\Psr\Http\Message\ResponseInterface
413
+     * @return \Psr\Http\Message\ResponseInterface
414 414
      *
415 415
      * @throws RuntimeException
416 416
      */
Please login to merge, or discard this patch.
src/ReportingCloud.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -86,10 +86,10 @@  discard block
 block discarded – undo
86 86
         $ret = null;
87 87
 
88 88
         StaticValidator::execute($templateName, 'TemplateName');
89
-        StaticValidator::execute($zoomFactor  , 'ZoomFactor');
90
-        StaticValidator::execute($fromPage    , 'Page');
91
-        StaticValidator::execute($toPage      , 'Page');
92
-        StaticValidator::execute($imageFormat , 'ImageFormat');
89
+        StaticValidator::execute($zoomFactor, 'ZoomFactor');
90
+        StaticValidator::execute($fromPage, 'Page');
91
+        StaticValidator::execute($toPage, 'Page');
92
+        StaticValidator::execute($imageFormat, 'ImageFormat');
93 93
 
94 94
         $query = [
95 95
             'templateName' => $templateName,
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 
135 135
         if (is_array($records) && count($records) > 0) {
136 136
             $ret = $this->buildPropertyMapArray($records, $propertyMap);
137
-            array_walk($ret, function (&$record) use ($filter) {
137
+            array_walk($ret, function(&$record) use ($filter) {
138 138
                 $key = 'modified';
139 139
                 if (isset($record[$key])) {
140 140
                     $filter->filter($record[$key]);
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 
202 202
         if (is_array($records) && count($records) > 0) {
203 203
             $ret = $this->buildPropertyMapArray($records, $propertyMap);
204
-            array_walk($ret, function (&$record) use ($filter) {
204
+            array_walk($ret, function(&$record) use ($filter) {
205 205
                 $key = 'valid_until';
206 206
                 if (isset($record[$key])) {
207 207
                     $filter->filter($record[$key]);
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 
330 330
         StaticValidator::execute($documentFilename, 'DocumentExtension');
331 331
         StaticValidator::execute($documentFilename, 'FileExists');
332
-        StaticValidator::execute($returnFormat    , 'ReturnFormat');
332
+        StaticValidator::execute($returnFormat, 'ReturnFormat');
333 333
 
334 334
         $query = [
335 335
             'returnFormat' => $returnFormat,
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
     {
377 377
         $ret = null;
378 378
 
379
-        StaticValidator::execute($mergeData   , 'TypeArray');
379
+        StaticValidator::execute($mergeData, 'TypeArray');
380 380
         StaticValidator::execute($returnFormat, 'ReturnFormat');
381 381
 
382 382
         if (null !== $templateName) {
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
         $ret = null;
459 459
 
460 460
         StaticValidator::execute($findAndReplaceData, 'TypeArray');
461
-        StaticValidator::execute($returnFormat      , 'ReturnFormat');
461
+        StaticValidator::execute($returnFormat, 'ReturnFormat');
462 462
 
463 463
         if (null !== $templateName) {
464 464
             StaticValidator::execute($templateName, 'TemplateName');
Please login to merge, or discard this patch.