Completed
Pull Request — master (#100)
by Alex
08:56
created
src/MetadataV4/edm/TIntConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@
 block discarded – undo
32 32
      * Gets or sets the inner value
33 33
      *
34 34
      * @param integer ...$value
35
+     * @param integer[] $value
35 36
      * @return integer
36 37
      */
37 38
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TLabeledElementReferenceExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets or sets the inner value
38 38
      *
39 39
      * @param string ...$value
40
+     * @param string[] $value
40 41
      * @return string
41 42
      */
42 43
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TPathExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets or sets the inner value
38 38
      *
39 39
      * @param string ...$value
40
+     * @param string[] $value
40 41
      * @return string
41 42
      */
42 43
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TStringConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets or sets the inner value
38 38
      *
39 39
      * @param string ...$value
40
+     * @param string[] $value
40 41
      * @return string
41 42
      */
42 43
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TTimeOfDayConstantExpressionType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@
 block discarded – undo
32 32
      * Gets or sets the inner value
33 33
      *
34 34
      * @param \DateTime ...$value
35
+     * @param \DateTime[] $value
35 36
      * @return \DateTime
36 37
      */
37 38
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/IsOKTraits/TSimpleIdentifierTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 {
9 9
     use xsdRestrictions;
10 10
 
11
+    /**
12
+     * @param string $TSimpleIdentifier
13
+     */
11 14
     protected function isTSimpleIdentifierValid($TSimpleIdentifier)
12 15
     {
13 16
         if (!$this->isNCName($TSimpleIdentifier)) {
Please login to merge, or discard this patch.
src/MetadataV3/edm/IsOKTraits/TPathTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 {
9 9
     use xsdRestrictions;
10 10
 
11
+    /**
12
+     * @param string $string
13
+     */
11 14
     public function isTPathValid($string)
12 15
     {
13 16
         // The below pattern represents the allowed identifiers in ECMA specification plus the '/' for path segment
Please login to merge, or discard this patch.
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.
src/MetadataManager.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
49 49
         return $this->serializer->serialize($this->getEdmx(), "xml");
50 50
     }
51 51
 
52
+    /**
53
+     * @param string $name
54
+     */
52 55
     public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null)
53 56
     {
54 57
         $NewEntity = new TEntityTypeType();
@@ -124,6 +127,11 @@  discard block
 block discarded – undo
124 127
         return $NewProperty;
125 128
     }
126 129
 
130
+    /**
131
+     * @param string $name
132
+     * @param string $type
133
+     * @param string $storeGeneratedPattern
134
+     */
127 135
     public function addPropertyToEntityType(
128 136
         $entityType,
129 137
         $name,
@@ -161,6 +169,11 @@  discard block
 block discarded – undo
161 169
         return $NewProperty;
162 170
     }
163 171
 
172
+    /**
173
+     * @param string $principalMultiplicity
174
+     * @param string $principalProperty
175
+     * @param string $dependentMultiplicity
176
+     */
164 177
     public function addNavigationPropertyToEntityType(
165 178
         TEntityTypeType $principalType,
166 179
         $principalMultiplicity,
@@ -337,6 +350,10 @@  discard block
 block discarded – undo
337 350
         return $association;
338 351
     }
339 352
 
353
+    /**
354
+     * @param string $principalEntitySetName
355
+     * @param string $dependentEntitySetName
356
+     */
340 357
     protected function createAssocationSetForAssocation(
341 358
         TAssociationType $association,
342 359
         $principalEntitySetName,
Please login to merge, or discard this patch.