Completed
Pull Request — master (#107)
by Alex
05:30
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   +22 added lines patch added patch discarded remove patch
@@ -54,6 +54,11 @@  discard block
 block discarded – undo
54 54
         return $cereal->serialize($this->getEdmx(), "xml");
55 55
     }
56 56
 
57
+    /**
58
+     * @param string $name
59
+     * @param TTextType $summary
60
+     * @param TTextType $longDescription
61
+     */
57 62
     public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null)
58 63
     {
59 64
         $NewEntity = new TEntityTypeType();
@@ -118,6 +123,14 @@  discard block
 block discarded – undo
118 123
         return $NewProperty;
119 124
     }
120 125
 
126
+    /**
127
+     * @param string $name
128
+     * @param string $type
129
+     * @param string $defaultValue
130
+     * @param string $storeGeneratedPattern
131
+     * @param TTextType $summary
132
+     * @param TTextType $longDescription
133
+     */
121 134
     public function addPropertyToEntityType(
122 135
         TEntityTypeType $entityType,
123 136
         $name,
@@ -147,6 +160,11 @@  discard block
 block discarded – undo
147 160
         return $NewProperty;
148 161
     }
149 162
 
163
+    /**
164
+     * @param string $principalMultiplicity
165
+     * @param string $principalProperty
166
+     * @param string $dependentMultiplicity
167
+     */
150 168
     public function addNavigationPropertyToEntityType(
151 169
         TEntityTypeType $principalType,
152 170
         $principalMultiplicity,
@@ -301,6 +319,10 @@  discard block
 block discarded – undo
301 319
         return $association;
302 320
     }
303 321
 
322
+    /**
323
+     * @param string $principalEntitySetName
324
+     * @param string $dependentEntitySetName
325
+     */
304 326
     protected function createAssocationSetForAssocation(
305 327
         TAssociationType $association,
306 328
         $principalEntitySetName,
Please login to merge, or discard this patch.