Completed
Push — master ( 3a9c1f...b05d7f )
by Henri
03:36
created
model/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
      * Get the label for a resource, preferring 1. the given language 2. configured languages 3. any language.
524 524
      * @param EasyRdf_Resource $res resource whose label to return
525 525
      * @param string $lang preferred language
526
-     * @return EasyRdf_Literal label as an EasyRdf_Literal object, or null if not found
526
+     * @return string label as an EasyRdf_Literal object, or null if not found
527 527
      */
528 528
     public function getResourceLabel($res, $lang)
529 529
     {
Please login to merge, or discard this patch.
model/GlobalConfig.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 class GlobalConfig {
4 4
     private $languages;
5 5
 
6
-    public function __construct($config_name=null) 
6
+    public function __construct($config_name = null) 
7 7
     {
8 8
         try {
9 9
             $file_path = dirname(__FILE__);
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
             } else {
13 13
                 $file_path .= '/../config.inc';
14 14
             }
15
-            if (!file_exists(dirname(__FILE__).'/../config.inc')) {
15
+            if (!file_exists(dirname(__FILE__) . '/../config.inc')) {
16 16
                 throw new Exception('config.inc file is missing, please provide one.');
17 17
             }
18 18
             require_once($file_path);
Please login to merge, or discard this patch.