Completed
Pull Request — master (#1033)
by
unknown
01:46
created
model/Vocabulary.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -165,10 +165,10 @@  discard block
 block discarded – undo
165 165
             $sparql = $this->getSparql();
166 166
             $result = $sparql->queryConceptScheme($defaultcs);
167 167
         } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) {
168
-             if ($this->model->getConfig()->getLogCaughtExceptions()) {
169
-                 error_log('Caught exception: ' . $e->getMessage());
170
-             }
171
-             return null;
168
+              if ($this->model->getConfig()->getLogCaughtExceptions()) {
169
+                  error_log('Caught exception: ' . $e->getMessage());
170
+              }
171
+              return null;
172 172
         }
173 173
         $conceptscheme = $result->resource($defaultcs);
174 174
         $this->order = array("dc:title", "dc11:title", "skos:prefLabel", "rdfs:label", "dc:subject", "dc11:subject", "dc:description", "dc11:description", "dc:publisher", "dc11:publisher", "dc:creator", "dc11:creator", "dc:contributor", "dc:language", "dc11:language", "owl:versionInfo", "dc:source", "dc11:source");
@@ -238,9 +238,9 @@  discard block
 block discarded – undo
238 238
         try {
239 239
             $conceptSchemes = $this->getSparql()->queryConceptSchemes($lang);
240 240
         } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) {
241
-             if ($this->model->getConfig()->getLogCaughtExceptions()) {
242
-                 error_log('Caught exception: ' . $e->getMessage());
243
-             }
241
+              if ($this->model->getConfig()->getLogCaughtExceptions()) {
242
+                  error_log('Caught exception: ' . $e->getMessage());
243
+              }
244 244
         }
245 245
         return $conceptSchemes;
246 246
     }
@@ -436,9 +436,9 @@  discard block
 block discarded – undo
436 436
         try {
437 437
             $conceptInfo = $sparql->queryConceptInfo($uri, $this->config->getArrayClassURI(), array($this), $clang);
438 438
         } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) {
439
-             if ($this->model->getConfig()->getLogCaughtExceptions()) {
440
-                 error_log('Caught exception: ' . $e->getMessage());
441
-             }
439
+              if ($this->model->getConfig()->getLogCaughtExceptions()) {
440
+                  error_log('Caught exception: ' . $e->getMessage());
441
+              }
442 442
         }
443 443
         return $conceptInfo;
444 444
     }
Please login to merge, or discard this patch.