Passed
Pull Request — master (#1195)
by Osma
05:01 queued 01:22
created
model/Vocabulary.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -163,10 +163,10 @@  discard block
 block discarded – undo
163 163
             $sparql = $this->getSparql();
164 164
             $result = $sparql->queryConceptScheme($defaultcs);
165 165
         } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) {
166
-             if ($this->model->getConfig()->getLogCaughtExceptions()) {
167
-                 error_log('Caught exception: ' . $e->getMessage());
168
-             }
169
-             return null;
166
+              if ($this->model->getConfig()->getLogCaughtExceptions()) {
167
+                  error_log('Caught exception: ' . $e->getMessage());
168
+              }
169
+              return null;
170 170
         }
171 171
         $conceptscheme = $result->resource($defaultcs);
172 172
         $this->order = array(
@@ -253,9 +253,9 @@  discard block
 block discarded – undo
253 253
         try {
254 254
             $conceptSchemes = $this->getSparql()->queryConceptSchemes($lang);
255 255
         } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) {
256
-             if ($this->model->getConfig()->getLogCaughtExceptions()) {
257
-                 error_log('Caught exception: ' . $e->getMessage());
258
-             }
256
+              if ($this->model->getConfig()->getLogCaughtExceptions()) {
257
+                  error_log('Caught exception: ' . $e->getMessage());
258
+              }
259 259
         }
260 260
         return $conceptSchemes;
261 261
     }
@@ -453,9 +453,9 @@  discard block
 block discarded – undo
453 453
         try {
454 454
             $conceptInfo = $sparql->queryConceptInfo($uri, $this->config->getArrayClassURI(), array($this), $clang);
455 455
         } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) {
456
-             if ($this->model->getConfig()->getLogCaughtExceptions()) {
457
-                 error_log('Caught exception: ' . $e->getMessage());
458
-             }
456
+              if ($this->model->getConfig()->getLogCaughtExceptions()) {
457
+                  error_log('Caught exception: ' . $e->getMessage());
458
+              }
459 459
         }
460 460
         return $conceptInfo;
461 461
     }
Please login to merge, or discard this patch.