Completed
Push — master ( 3f43c2...c76c51 )
by
unknown
27s queued 20s
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,15 +1100,15 @@  discard block
 block discarded – undo
1100 1100
         foreach($changeList as $conceptInfo) {
1101 1101
             if (array_key_exists('date', $conceptInfo)) {
1102 1102
                 $simpleChangeList[] =  array( 'uri' => $conceptInfo['uri'],
1103
-                                               'prefLabel' => $conceptInfo['prefLabel'],
1104
-                                               'date' => $conceptInfo['date']->format("Y-m-d\TH:i:sO") );
1103
+                                                'prefLabel' => $conceptInfo['prefLabel'],
1104
+                                                'date' => $conceptInfo['date']->format("Y-m-d\TH:i:sO") );
1105 1105
             }
1106 1106
         }
1107 1107
         return $this->returnJson(array_merge_recursive($this->context,
1108 1108
                                                         array('@context' => array( '@language' => $request->getLang(),
1109
-                                                                                     'prefLabel' => 'skos:prefLabel',
1110
-                                                                                     'xsd' => 'http://www.w3.org/2001/XMLSchema#',
1111
-                                                                                     'date' => array( '@id' => 'http://purl.org/dc/terms/date', '@type' => 'http://www.w3.org/2001/XMLSchema#dateTime') )
1109
+                                                                                      'prefLabel' => 'skos:prefLabel',
1110
+                                                                                      'xsd' => 'http://www.w3.org/2001/XMLSchema#',
1111
+                                                                                      'date' => array( '@id' => 'http://purl.org/dc/terms/date', '@type' => 'http://www.w3.org/2001/XMLSchema#dateTime') )
1112 1112
                                                         ),
1113 1113
                                                         array('changeList' => $simpleChangeList)));
1114 1114
 
Please login to merge, or discard this patch.
controller/WebController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -594,10 +594,10 @@
 block discarded – undo
594 594
     }
595 595
 
596 596
     /**
597
-    * Formats the list of concepts as labels arranged by modification month
598
-    * @param Array $changeList
599
-    * @param string $lang the language for displaying dates in the change list
600
-    */
597
+     * Formats the list of concepts as labels arranged by modification month
598
+     * @param Array $changeList
599
+     * @param string $lang the language for displaying dates in the change list
600
+     */
601 601
     public function formatChangeList($changeList, $lang)
602 602
     {
603 603
         $formatByDate = array();
Please login to merge, or discard this patch.