Test Failed
Pull Request — master (#121)
by Christopher
10:07
created
tests/testType.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
         return parent::isNullInstanceOf($var, $instanceOf);
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $instanceOf
35
+     */
33 36
     public function isValidArray(array $arr = null, $instanceOf, $minCount = -1, $maxCount = -1)
34 37
     {
35 38
         return parent::isValidArray($arr, $instanceOf, $minCount, $maxCount);
@@ -40,6 +43,9 @@  discard block
 block discarded – undo
40 43
         return parent::isChildArrayOK($arr, $msg);
41 44
     }
42 45
 
46
+    /**
47
+     * @param null|string $url
48
+     */
43 49
     public function isURLValid($url)
44 50
     {
45 51
         return parent::isURLValid($url);
@@ -50,6 +56,9 @@  discard block
 block discarded – undo
50 56
         return true;
51 57
     }
52 58
 
59
+    /**
60
+     * @return boolean
61
+     */
53 62
     public function isObjectNullOrOK(IsOK $object = null, &$msg = null)
54 63
     {
55 64
         return parent::isObjectNullOrOK($object, $msg);
Please login to merge, or discard this patch.
tests/EdmxTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
         $this->v3MetadataAgainstXSD($d);
36 36
     }
37 37
 
38
+    /**
39
+     * @param string $data
40
+     */
38 41
     public function v3MetadataAgainstXSD($data)
39 42
     {
40 43
         $ds = DIRECTORY_SEPARATOR;
@@ -59,7 +62,7 @@  discard block
 block discarded – undo
59 62
     }
60 63
 
61 64
     /**
62
-     * @param $ds
65
+     * @param string $ds
63 66
      * @param $edmx
64 67
      * @param $msg
65 68
      */
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/TFunctionImportAttributesTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * isset returnType
95 95
      *
96
-     * @param  scalar $index
96
+     * @param  integer $index
97 97
      * @return boolean
98 98
      */
99 99
     public function issetReturnType($index)
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * unset returnType
106 106
      *
107
-     * @param  scalar $index
107
+     * @param  integer $index
108 108
      * @return void
109 109
      */
110 110
     public function unsetReturnType($index)
Please login to merge, or discard this patch.
src/MetadataManager.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -52,6 +52,11 @@  discard block
 block discarded – undo
52 52
         return $cereal->serialize($this->getEdmx(), "xml");
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $name
57
+     * @param TTextType $summary
58
+     * @param TTextType $longDescription
59
+     */
55 60
     public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null)
56 61
     {
57 62
         $NewEntity = new TEntityTypeType();
@@ -116,6 +121,14 @@  discard block
 block discarded – undo
116 121
         return $NewProperty;
117 122
     }
118 123
 
124
+    /**
125
+     * @param string $name
126
+     * @param string $type
127
+     * @param string $defaultValue
128
+     * @param string $storeGeneratedPattern
129
+     * @param TTextType $summary
130
+     * @param TTextType $longDescription
131
+     */
119 132
     public function addPropertyToEntityType(
120 133
         TEntityTypeType $entityType,
121 134
         $name,
@@ -145,6 +158,11 @@  discard block
 block discarded – undo
145 158
         return $NewProperty;
146 159
     }
147 160
 
161
+    /**
162
+     * @param string $principalMultiplicity
163
+     * @param string $principalProperty
164
+     * @param string $dependentMultiplicity
165
+     */
148 166
     public function addNavigationPropertyToEntityType(
149 167
         TEntityTypeType $principalType,
150 168
         $principalMultiplicity,
Please login to merge, or discard this patch.
src/MetadataV3/edm/EntityContainer/AssociationSetAnonymousType.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * isset end
113 113
      *
114
-     * @param  scalar $index
114
+     * @param  integer $index
115 115
      * @return boolean
116 116
      */
117 117
     public function issetEnd($index)
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     /**
123 123
      * unset end
124 124
      *
125
-     * @param  scalar $index
125
+     * @param  integer $index
126 126
      * @return void
127 127
      */
128 128
     public function unsetEnd($index)
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/GExpressionTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
     /**
143 143
      * Sets a new binary
144 144
      *
145
-     * @param  mixed $binary
145
+     * @param  string $binary
146 146
      * @return self
147 147
      */
148 148
     public function setBinary($binary)
Please login to merge, or discard this patch.
src/MetadataV3/edm/IsOKTraits/TQualifiedNameTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 {
10 10
     use xsdRestrictions;
11 11
 
12
+    /**
13
+     * @return boolean
14
+     */
12 15
     public function isTQualifiedNameValid($string)
13 16
     {
14 17
         assert($this instanceof IsOK);
Please login to merge, or discard this patch.
src/MetadataV1/mapping/cs/TQueryViewType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Gets or sets the inner value
37 37
      *
38
-     * @param string[] $value
38
+     * @param string $value
39 39
      * @return string
40 40
      */
41 41
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV3/edm/TTypeRefType.php 1 patch
Doc Comments   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.