Completed
Push — master ( b035c8...ddcf44 )
by Paweł
02:10
created
src/Items/DataTypes/AbstractDataType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
         return $this;
99 99
     }
100 100
 
101
+    /**
102
+     * @param string $name
103
+     */
101 104
     public function getAttribute($name)
102 105
     {
103 106
         return isset($this->attributes[$name]) ? $this->attributes[$name] : null;
Please login to merge, or discard this patch.
src/Items/DataTypes/ArrayType.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * ArrayType constructor.
28 28
      *
29
-     * @param $name
29
+     * @param string $name
30 30
      * @param $dataType
31 31
      */
32 32
     public function __construct($name, $dataType)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 namespace Wszetko\Sitemap\Items\DataTypes;
5 5
 
6 6
 use Wszetko\Sitemap\Interfaces\DataType;
7
-use Wszetko\Sitemap\Traits\Domain;
8 7
 
9 8
 /**
10 9
  * Class ArrayType
Please login to merge, or discard this patch.
src/Items/DataTypes/StringType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return array|null
82
+     * @return string[]
83 83
      */
84 84
     public function getAllowedValues(): ?array
85 85
     {
Please login to merge, or discard this patch.
src/Items/DataTypes/URLType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 namespace Wszetko\Sitemap\Items\DataTypes;
5 5
 
6 6
 use Wszetko\Sitemap\Helpers\Url;
7
-use Wszetko\Sitemap\Traits\Domain;
8 7
 
9 8
 /**
10 9
  * Class URLType
Please login to merge, or discard this patch.
src/Items/HrefLang.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 
4 4
 namespace Wszetko\Sitemap\Items;
5 5
 
6
-use InvalidArgumentException;
7
-
8 6
 /**
9 7
  * Class HrefLang
10 8
  *
Please login to merge, or discard this patch.