Completed
Pull Request — master (#748)
by Dan Michael O.
02:06
created
controller/Honeypot.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
         return $html;
40 40
     }
41 41
     /**
42
-    * Validate honeypot is empty
43
-    *
44
-    * @param  mixed $value
45
-    * @return boolean
46
-    */
42
+     * Validate honeypot is empty
43
+     *
44
+     * @param  mixed $value
45
+     * @return boolean
46
+     */
47 47
     public function validateHoneypot($value)
48 48
     {
49 49
         if ($this->disabled) {
Please login to merge, or discard this patch.
model/DataObject.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,8 +124,8 @@
 block discarded – undo
124 124
      */
125 125
     public function getEnvLang()
126 126
     {
127
-       // get language from locale, same as used by gettext, set by Controller
128
-       return substr(getenv("LC_ALL"), 0, 2); // @codeCoverageIgnore
127
+        // get language from locale, same as used by gettext, set by Controller
128
+        return substr(getenv("LC_ALL"), 0, 2); // @codeCoverageIgnore
129 129
     }
130 130
 
131 131
     /**
Please login to merge, or discard this patch.
model/sparql/GenericSparql.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param string $query
66 66
      * @return string
67
-    */
67
+     */
68 68
     protected function generateQueryPrefixes($query)
69 69
     {
70 70
         // Check for undefined prefixes
@@ -1809,7 +1809,7 @@  discard block
 block discarded – undo
1809 1809
 
1810 1810
     /**
1811 1811
      * Generates a sparql query for finding the hierarchy for a concept.
1812
-	 * A concept may be a top concept in multiple schemes, returned as a single whitespace-separated literal.
1812
+     * A concept may be a top concept in multiple schemes, returned as a single whitespace-separated literal.
1813 1813
      * @param string $uri concept uri.
1814 1814
      * @param string $lang
1815 1815
      * @param string $fallback language to use if label is not available in the preferred language
@@ -1886,11 +1886,11 @@  discard block
 block discarded – undo
1886 1886
                 $ret[$uri]['exact'] = $row->exact->getUri();
1887 1887
             }
1888 1888
             if (isset($row->tops)) {
1889
-               $topConceptsList=array();
1890
-               $topConceptsList=explode(" ", $row->tops->getValue());
1891
-               // sort to garantee an alphabetical ordering of the URI
1892
-               sort($topConceptsList);
1893
-               $ret[$uri]['tops'] = $topConceptsList;
1889
+                $topConceptsList=array();
1890
+                $topConceptsList=explode(" ", $row->tops->getValue());
1891
+                // sort to garantee an alphabetical ordering of the URI
1892
+                sort($topConceptsList);
1893
+                $ret[$uri]['tops'] = $topConceptsList;
1894 1894
             }
1895 1895
             if (isset($row->children)) {
1896 1896
                 if (!isset($ret[$uri]['narrower'])) {
Please login to merge, or discard this patch.