Completed
Push — master ( 888d29...e13826 )
by Sebastian
06:20
created
src/Seboettg/CiteProc/Locale/Locale.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Seboettg\CiteProc\Locale;
3 3
 use Seboettg\CiteProc\Util\Factory;
4
-use Seboettg\Collection\ArrayList;
5 4
 
6 5
 /**
7 6
  */
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.
src/Seboettg/CiteProc/Rendering/Text.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Seboettg\CiteProc\Styles\AffixesTrait;
6 6
 use Seboettg\CiteProc\Styles\DisplayTrait;
7 7
 use Seboettg\CiteProc\Styles\FormattingTrait;
8
-use Seboettg\CiteProc\Styles\QuotesTrait;
9 8
 use Seboettg\CiteProc\Styles\TextCaseTrait;
10 9
 
11 10
 
Please login to merge, or discard this patch.
src/Seboettg/CiteProc/Util/Factory.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
         "et-al"         => "\\Name\\EtAl"
36 36
     ];
37 37
 
38
+    /**
39
+     * @param \Seboettg\CiteProc\Rendering\Name\Names $param
40
+     */
38 41
     public static function create($node, $param = null)
39 42
     {
40 43
         $nodeClass = self::CITE_PROC_NODE_NAMESPACE . self::$nodes[$node->getName()];
@@ -48,6 +51,9 @@  discard block
 block discarded – undo
48 51
     }
49 52
 
50 53
 
54
+    /**
55
+     * @param string $lang
56
+     */
51 57
     public static function loadLocale($lang) {
52 58
         $directory = __DIR__."/../../../../vendor/academicpuma/locales";
53 59
         $file = $directory . "/locales-" . ($lang) . ".xml";
Please login to merge, or discard this patch.