Completed
Pull Request — master (#982)
by
unknown
02:03
created
controller/RestController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -575,9 +575,9 @@  discard block
 block discarded – undo
575 575
                 $vocid = $request->getVocab()->getId();
576 576
                 return $this->returnError('404', 'Not Found', "No download source URL known for vocabulary $vocid in language $dataLang");
577 577
             }
578
-		} else {
578
+    } else {
579 579
             header("Location: " . $urls[$format]);
580
-		}
580
+    }
581 581
     }
582 582
 
583 583
     private function returnDataResults($results, $format) {
@@ -1100,14 +1100,14 @@  discard block
 block discarded – undo
1100 1100
         $simpleChangeList = array();
1101 1101
         foreach($changeList as $conceptInfo) {
1102 1102
             $simpleChangeList[] =  array( 'uri' => $conceptInfo['uri'],
1103
-                                           'prefLabel' => $conceptInfo['prefLabel'],
1104
-                                           'date' => $conceptInfo['date']->format(DateTimeInterface::ISO8601) );
1103
+                                            'prefLabel' => $conceptInfo['prefLabel'],
1104
+                                            'date' => $conceptInfo['date']->format(DateTimeInterface::ISO8601) );
1105 1105
         }
1106 1106
         return $this->returnJson(array_merge_recursive($this->context,
1107 1107
                                                         array('@context' => array( '@language' => $request->getLang(),
1108
-                                                                                     'prefLabel' => 'skos:prefLabel',
1109
-                                                                                     'xsd' => 'http://www.w3.org/2001/XMLSchema#',
1110
-                                                                                     'date' => array( '@id' => 'http://purl.org/dc/terms/date', '@type' => 'http://www.w3.org/2001/XMLSchema#date') )
1108
+                                                                                      'prefLabel' => 'skos:prefLabel',
1109
+                                                                                      'xsd' => 'http://www.w3.org/2001/XMLSchema#',
1110
+                                                                                      'date' => array( '@id' => 'http://purl.org/dc/terms/date', '@type' => 'http://www.w3.org/2001/XMLSchema#date') )
1111 1111
                                                         ),
1112 1112
                                                         array('changeList' => $simpleChangeList)));
1113 1113
 
Please login to merge, or discard this patch.