@@ -102,7 +102,7 @@ |
||
102 | 102 | { |
103 | 103 | $packageDir = $package->getPackageDir(); |
104 | 104 | |
105 | - mkdir($packageDir . '/icon.iconset'); |
|
105 | + mkdir($packageDir.'/icon.iconset'); |
|
106 | 106 | |
107 | 107 | foreach (Package::$packageFiles as $rawFile) { |
108 | 108 | $filePath = sprintf('%s/%s', $packageDir, $rawFile); |
@@ -58,9 +58,9 @@ |
||
58 | 58 | ), |
59 | 59 | ); |
60 | 60 | |
61 | - if ( !empty( $this->extend ) ) |
|
61 | + if (!empty($this->extend)) |
|
62 | 62 | { |
63 | - $payload = array_merge_recursive( $payload, $this->extend ); |
|
63 | + $payload = array_merge_recursive($payload, $this->extend); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | return $payload; |
@@ -108,9 +108,9 @@ |
||
108 | 108 | protected function createStreamContext() |
109 | 109 | { |
110 | 110 | $streamContext = stream_context_create(); |
111 | - if ( !empty( $this->caFile ) ) |
|
111 | + if (!empty($this->caFile)) |
|
112 | 112 | { |
113 | - stream_context_set_option( $streamContext, 'ssl', 'cafile', $this->caFile ); |
|
113 | + stream_context_set_option($streamContext, 'ssl', 'cafile', $this->caFile); |
|
114 | 114 | } |
115 | 115 | stream_context_set_option($streamContext, 'ssl', 'local_cert', $this->certificate->writeToTmp()); |
116 | 116 |