@@ -54,7 +54,7 @@ |
||
| 54 | 54 | public function build() |
| 55 | 55 | { |
| 56 | 56 | return new MediaConnection( |
| 57 | - array_filter($this->data, function ($data) { |
|
| 57 | + array_filter($this->data, function($data) { |
|
| 58 | 58 | return $data !== null; |
| 59 | 59 | }) |
| 60 | 60 | ); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | if (!is_string($fileName)) { |
| 73 | 73 | throw new \InvalidArgumentException('File name is empty'); |
| 74 | 74 | } |
| 75 | - if(strlen($fileName) > 255) { |
|
| 75 | + if (strlen($fileName) > 255) { |
|
| 76 | 76 | throw new \InvalidArgumentException('File name must contain no more than 255 characters'); |
| 77 | 77 | } |
| 78 | 78 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | public function build() |
| 105 | 105 | { |
| 106 | 106 | return new MediaStorage( |
| 107 | - array_filter($this->data, function ($data) { |
|
| 107 | + array_filter($this->data, function($data) { |
|
| 108 | 108 | return $data !== null; |
| 109 | 109 | }) |
| 110 | 110 | ); |