@@ -102,10 +102,10 @@ discard block |
||
102 | 102 | $request = $client->createRequest('POST', $w3curl . $validator, ['exceptions' => false]); |
103 | 103 | $postBody = $request->getBody(); |
104 | 104 | $postBody->addFile( |
105 | - new PostFile($field, fopen( |
|
106 | - $file, |
|
107 | - 'r' |
|
108 | - )) |
|
105 | + new PostFile($field, fopen( |
|
106 | + $file, |
|
107 | + 'r' |
|
108 | + )) |
|
109 | 109 | ); |
110 | 110 | |
111 | 111 | $retry = self::MAX_RETRY; |
@@ -166,13 +166,13 @@ discard block |
||
166 | 166 | $ext = $fileinfo->getExtension(); |
167 | 167 | $title = strtr($fileinfo->getRelativePathname(), ["\\" => "/"]); |
168 | 168 | $view = $this->sendToW3C( |
169 | - $this->types[$ext]['w3curl'], |
|
170 | - $this->types[$ext]['validator'], |
|
171 | - $this->types[$ext]['field'], |
|
172 | - $this->types[$ext]['resulttag'], |
|
173 | - strtr($fileinfo->getRealPath(), ["\\" => "/"]), |
|
174 | - $title, |
|
175 | - $this->types[$ext]['css'] |
|
169 | + $this->types[$ext]['w3curl'], |
|
170 | + $this->types[$ext]['validator'], |
|
171 | + $this->types[$ext]['field'], |
|
172 | + $this->types[$ext]['resulttag'], |
|
173 | + strtr($fileinfo->getRealPath(), ["\\" => "/"]), |
|
174 | + $title, |
|
175 | + $this->types[$ext]['css'] |
|
176 | 176 | ); |
177 | 177 | |
178 | 178 | if (!$view) { |