Passed
Push — master ( 705e3b...7aff0e )
by Christopher
04:03 queued 13s
created
MetadataV4/src/edm/TGuidConstantExpressionType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * Gets or sets the inner value
36 36
      *
37
-     * @param string $value
38 37
      * @return string
39 38
      */
40 39
     public function value()
Please login to merge, or discard this patch.
MetadataV4/src/edm/TLabeledElementReferenceExpressionType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * Gets or sets the inner value
36 36
      *
37
-     * @param string $value
38 37
      * @return string
39 38
      */
40 39
     public function value()
Please login to merge, or discard this patch.
MetadataV4/src/edm/TPathExpressionType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * Gets or sets the inner value
36 36
      *
37
-     * @param string $value
38 37
      * @return string
39 38
      */
40 39
     public function value()
Please login to merge, or discard this patch.
MetadataV4/src/edm/TStringConstantExpressionType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * Gets or sets the inner value
36 36
      *
37
-     * @param string $value
38 37
      * @return string
39 38
      */
40 39
     public function value()
Please login to merge, or discard this patch.
MetadataV4/src/edm/TTimeOfDayConstantExpressionType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
     /**
30 30
      * Gets or sets the inner value
31 31
      *
32
-     * @param \DateTime $value
33 32
      * @return \DateTime
34 33
      */
35 34
     public function value()
Please login to merge, or discard this patch.
IsOK.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -5,11 +5,11 @@  discard block
 block discarded – undo
5 5
 {
6 6
     abstract protected function IsOK(&$msg);
7 7
 
8
-    public protected function isStringNotNullOrEmpty($str){
9
-        if($this->isStringNull($str)){
8
+    public protected function isStringNotNullOrEmpty($str) {
9
+        if ($this->isStringNull($str)) {
10 10
             return false;
11 11
         }
12
-        if(empty(trim($str))){
12
+        if (empty(trim($str))) {
13 13
            return false;
14 14
         }
15 15
         return true;
@@ -17,39 +17,39 @@  discard block
 block discarded – undo
17 17
 
18 18
     public protected function isStringNotNull($str)
19 19
     {
20
-        if(null == $str){
20
+        if (null == $str) {
21 21
            return false;
22
-        if(!is_string($str)){
22
+        if (!is_string($str)) {
23 23
            return false;
24 24
         }
25 25
         return true;
26 26
     }
27 27
 
28
-    public protected  function isNotNullIstanceOf($var, $insanceOf){
29
-        if(null == $var){
28
+    public protected  function isNotNullIstanceOf($var, $insanceOf) {
29
+        if (null == $var) {
30 30
             return false;
31 31
         }
32
-        if(!($var instanceof $insanceOf)){
32
+        if (!($var instanceof $insanceOf)) {
33 33
             return false;
34 34
         }
35 35
         return true;
36 36
     }
37 37
 
38
-    public protected function isValidArray($arr, $insanceOf, $minCount = -1, $maxCount = -1){
39
-        if(null == $arr){
38
+    public protected function isValidArray($arr, $insanceOf, $minCount = -1, $maxCount = -1) {
39
+        if (null == $arr) {
40 40
             return false;
41 41
         }
42
-        if(!is_array ($arr)){
42
+        if (!is_array($arr)) {
43 43
             return false;
44 44
         }
45
-        if($minCount != -1 && count($arr) < $minCount){
45
+        if ($minCount != -1 && count($arr) < $minCount) {
46 46
             return false;
47 47
         }
48
-        if($maxCount != -1 && count($arr) > $maxCount){
48
+        if ($maxCount != -1 && count($arr) > $maxCount) {
49 49
             return false;
50 50
         }
51
-        foreach($arr as $item){
52
-            if(!($item instanceof $insanceOf)){
51
+        foreach ($arr as $item) {
52
+            if (!($item instanceof $insanceOf)) {
53 53
                 return false;
54 54
             }
55 55
         }
Please login to merge, or discard this patch.