Completed
Push — version2.0 ( af5a57...2f739c )
by Sebastian
06:52
created
src/Seboettg/CiteProc/Locale/Locale.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@
 block discarded – undo
46 46
         return $this->language;
47 47
     }
48 48
 
49
+    /**
50
+     * @param string $type
51
+     */
49 52
     public function filter($type, $name, $form = "long") {
50 53
 
51 54
         if (!isset($this->{$type})) {
Please login to merge, or discard this patch.
src/Seboettg/CiteProc/Rendering/Name/Names.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      * addition, the “editortranslator” term is used if the Names element contains a Label element, replacing the
131 131
      * default “editor” and “translator” terms (e.g. resulting in “Doe (editor & translator)”).
132 132
      *
133
-     * @param $data
133
+     * @param \stdClass $data
134 134
      * @return string
135 135
      */
136 136
     public function render($data)
Please login to merge, or discard this patch.
vendorPath.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -29,19 +29,19 @@
 block discarded – undo
29 29
 
30 30
 if (!function_exists('vendorPath')) {
31 31
 
32
-	/**
33
-	 * @return bool|string returns path of composer vendor folder, and false if folder does not exist
34
-	 */
35
-	function vendorPath() {
32
+    /**
33
+     * @return bool|string returns path of composer vendor folder, and false if folder does not exist
34
+     */
35
+    function vendorPath() {
36 36
 
37
-		if (file_exists(__DIR__ . '/vendor/')) {
38
-			return __DIR__ . '/vendor';
39
-		} else {
40
-			if (!file_exists(__DIR__ . '/../../')) {
41
-				return false;
42
-			} else {
43
-				return __DIR__ . '/../..';
44
-			}
45
-		}
46
-	}
37
+        if (file_exists(__DIR__ . '/vendor/')) {
38
+            return __DIR__ . '/vendor';
39
+        } else {
40
+            if (!file_exists(__DIR__ . '/../../')) {
41
+                return false;
42
+            } else {
43
+                return __DIR__ . '/../..';
44
+            }
45
+        }
46
+    }
47 47
 }
48 48
\ No newline at end of file
Please login to merge, or discard this patch.
src/Seboettg/CiteProc/Util/Factory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
     }
50 50
 
51 51
 
52
+    /**
53
+     * @param string $lang
54
+     */
52 55
     public static function loadLocale($lang) {
53 56
         $directory = __DIR__."/../../../../vendor/academicpuma/locales";
54 57
         $file = $directory . "/locales-" . ($lang) . ".xml";
Please login to merge, or discard this patch.