File tree 6 files changed +6
-6
lines changed
src/MessageBird/Resources 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public function processRequest($body)
158
158
{
159
159
$ body = @json_decode ($ body );
160
160
161
- if ($ body === null or $ body === false ) {
161
+ if ($ body === null || $ body === false ) {
162
162
throw new Exceptions \ServerException ('Got an invalid JSON response from the server. ' );
163
163
}
164
164
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ public function processRequest($body)
172
172
{
173
173
$ body = @json_decode ($ body );
174
174
175
- if ($ body === null or $ body === false ) {
175
+ if ($ body === null || $ body === false ) {
176
176
throw new ServerException ('Got an invalid JSON response from the server. ' );
177
177
}
178
178
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function processRequest($body)
52
52
{
53
53
$ body = @json_decode ($ body );
54
54
55
- if ($ body === null or $ body === false ) {
55
+ if ($ body === null || $ body === false ) {
56
56
throw new Exceptions \ServerException ('Got an invalid JSON response from the server. ' );
57
57
}
58
58
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function processRequest($body)
109
109
{
110
110
$ body = @json_decode ($ body );
111
111
112
- if ($ body === null or $ body === false ) {
112
+ if ($ body === null || $ body === false ) {
113
113
throw new Exceptions \ServerException ('Got an invalid JSON response from the server. ' );
114
114
}
115
115
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public function processRequest($body)
140
140
{
141
141
$ body = @json_decode ($ body );
142
142
143
- if ($ body === null or $ body === false ) {
143
+ if ($ body === null || $ body === false ) {
144
144
throw new Exceptions \ServerException ('Got an invalid JSON response from the server. ' );
145
145
}
146
146
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ public function processRequest($body)
150
150
{
151
151
$ body = @json_decode ($ body );
152
152
153
- if ($ body === null or $ body === false ) {
153
+ if ($ body === null || $ body === false ) {
154
154
throw new Exceptions \ServerException ('Got an invalid JSON response from the server. ' );
155
155
}
156
156
You can’t perform that action at this time.
0 commit comments