Completed
Push — master ( d4c1a9...555df9 )
by Oleg
02:38
created
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/Page.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
                 case 'id': $this->setId($value); break;
121 121
                 case 'last_modified': $this->setLastModified($value); break;
122 122
                 default:
123
-                    throw new Exception('Unknown option found in the Page entity: ' . $name);
123
+                    throw new Exception('Unknown option found in the Page entity: '.$name);
124 124
             }
125 125
         }
126 126
     }
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         // Remove options with empty values
151 151
         $cleanedOptions = array();
152 152
         foreach ($options as $name=>$value) {
153
-            if ($value!==null)
153
+            if ($value !== null)
154 154
                 $cleanedOptions[$name] = $value;
155 155
         }
156 156
         
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/Datapoint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 case 'value': $this->setValue($value); break;
69 69
                 case 'visitors_remaining': $this->setVisitorsRemaining($value); break;
70 70
                 default:
71
-                    throw new Exception('Unknown option found in the Datapoint entity: ' . $name);
71
+                    throw new Exception('Unknown option found in the Datapoint entity: '.$name);
72 72
             }
73 73
         }
74 74
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         // Remove options with empty values
91 91
         $cleanedOptions = array();
92 92
         foreach ($options as $name=>$value) {
93
-            if ($value!==null)
93
+            if ($value !== null)
94 94
                 $cleanedOptions[$name] = $value;
95 95
         }
96 96
         
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/EventFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                 case 'filter_type': $this->setFilterType($value); break;
36 36
                 case 'selector': $this->setSelector($value); break;
37 37
                 default:
38
-                    throw new Exception('Unknown option found in the EventFilter entity: ' . $name);
38
+                    throw new Exception('Unknown option found in the EventFilter entity: '.$name);
39 39
             }
40 40
         }
41 41
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         // Remove options with empty values
54 54
         $cleanedOptions = array();
55 55
         foreach ($options as $name=>$value) {
56
-            if ($value!==null)
56
+            if ($value !== null)
57 57
                 $cleanedOptions[$name] = $value;
58 58
         }
59 59
         
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/ExperimentMetricResults.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
                 case 'unit': $this->setUnit($value); break;
75 75
                 case 'variation_results': $this->setVariationResults($value); break;
76 76
                 default:
77
-                    throw new Exception('Unknown option found in the ExperimentMetricResults entity: ' . $name);
77
+                    throw new Exception('Unknown option found in the ExperimentMetricResults entity: '.$name);
78 78
             }
79 79
         }
80 80
     }
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/CampaignMetricResults.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 }
89 89
                 case 'unit': $this->setUnit($value); break;
90 90
                 default:
91
-                    throw new Exception('Unknown option found in CampaignMetricResults entity: ' . $name);
91
+                    throw new Exception('Unknown option found in CampaignMetricResults entity: '.$name);
92 92
             }
93 93
         }
94 94
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         // Remove options with empty values
116 116
         $cleanedOptions = array();
117 117
         foreach ($options as $name=>$value) {
118
-            if ($value!==null)
118
+            if ($value !== null)
119 119
                 $cleanedOptions[$name] = $value;
120 120
         }
121 121
         
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/WebSnippet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                 case 'code_revision': $this->setCodeRevision($value); break;
99 99
                 case 'js_file_size': $this->setJsFileSize($value); break;
100 100
                 default:
101
-                    throw new Exception('Unknown option found in WebSnippet entity: ' . $name);
101
+                    throw new Exception('Unknown option found in WebSnippet entity: '.$name);
102 102
             }
103 103
         }
104 104
     }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         // Remove options with empty values
125 125
         $cleanedOptions = array();
126 126
         foreach ($options as $name=>$value) {
127
-            if ($value!==null)
127
+            if ($value !== null)
128 128
                 $cleanedOptions[$name] = $value;
129 129
         }
130 130
         
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/Audience.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                 case 'last_modified': $this->setLastModified($value); break;
94 94
                 case 'is_classic': $this->getIsClassic($value); break;
95 95
                 default:
96
-                    throw new Exception('Unknown option found in the Audience entity: ' . $name);
96
+                    throw new Exception('Unknown option found in the Audience entity: '.$name);
97 97
             }
98 98
         }
99 99
     }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         // Remove options with empty values
120 120
         $cleanedOptions = array();
121 121
         foreach ($options as $name=>$value) {
122
-            if ($value!==null)
122
+            if ($value !== null)
123 123
                 $cleanedOptions[$name] = $value;
124 124
         }
125 125
         
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/Schedule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                 case 'stop_time': $this->setStopTime($value); break;
43 43
                 case 'time_zone': $this->setTimezone($value); break;
44 44
                 default:
45
-                    throw new Exception('Unknown option found in the Schedule entity: ' . $name);
45
+                    throw new Exception('Unknown option found in the Schedule entity: '.$name);
46 46
             }
47 47
         }
48 48
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         // Remove options with empty values
62 62
         $cleanedOptions = array();
63 63
         foreach ($options as $name=>$value) {
64
-            if ($value!==null)
64
+            if ($value !== null)
65 65
                 $cleanedOptions[$name] = $value;
66 66
         }
67 67
         
Please login to merge, or discard this patch.
lib/WebMarketingROI/OptimizelyPHP/Resource/v2/CampaignResults.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                 }
68 68
                 case 'start_time': $this->setStartTime($value); break;
69 69
                 default:
70
-                    throw new Exception('Unknown option found in CampaignResults entity: ' . $name);
70
+                    throw new Exception('Unknown option found in CampaignResults entity: '.$name);
71 71
             }
72 72
         }
73 73
     }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         // Remove options with empty values
93 93
         $cleanedOptions = array();
94 94
         foreach ($options as $name=>$value) {
95
-            if ($value!==null)
95
+            if ($value !== null)
96 96
                 $cleanedOptions[$name] = $value;
97 97
         }
98 98
         
Please login to merge, or discard this patch.