Completed
Pull Request — master (#100)
by Alex
17:11
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/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
         $this->startEdmxTransaction();
@@ -126,6 +129,11 @@  discard block
 block discarded – undo
126 129
         //$this->oldEdmx = null;
127 130
     }
128 131
 
132
+    /**
133
+     * @param string $name
134
+     * @param string $type
135
+     * @param string $storeGeneratedPattern
136
+     */
129 137
     public function addPropertyToEntityType(
130 138
         $entityType,
131 139
         $name,
@@ -166,6 +174,11 @@  discard block
 block discarded – undo
166 174
         return $NewProperty;
167 175
     }
168 176
 
177
+    /**
178
+     * @param string $principalMultiplicity
179
+     * @param string $principalProperty
180
+     * @param string $dependentMultiplicity
181
+     */
169 182
     public function addNavigationPropertyToEntityType(
170 183
         TEntityTypeType $principalType,
171 184
         $principalMultiplicity,
@@ -344,6 +357,10 @@  discard block
 block discarded – undo
344 357
         return $association;
345 358
     }
346 359
 
360
+    /**
361
+     * @param string $principalEntitySetName
362
+     * @param string $dependentEntitySetName
363
+     */
347 364
     protected function createAssocationSetForAssocation(
348 365
         TAssociationType $association,
349 366
         $principalEntitySetName,
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.