@@ -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; |
@@ -158,13 +158,13 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | $ext = $fileinfo->getExtension();; |
| 160 | 160 | $view = $this->sendToW3C( |
| 161 | - $this->types[$ext]['w3curl'], |
|
| 162 | - $this->types[$ext]['validator'], |
|
| 163 | - $this->types[$ext]['field'], |
|
| 164 | - $this->types[$ext]['resulttag'], |
|
| 165 | - strtr($fileinfo->getRealPath(), ["\\" => "/"]), |
|
| 166 | - $title, |
|
| 167 | - $this->types[$ext]['css'] |
|
| 161 | + $this->types[$ext]['w3curl'], |
|
| 162 | + $this->types[$ext]['validator'], |
|
| 163 | + $this->types[$ext]['field'], |
|
| 164 | + $this->types[$ext]['resulttag'], |
|
| 165 | + strtr($fileinfo->getRealPath(), ["\\" => "/"]), |
|
| 166 | + $title, |
|
| 167 | + $this->types[$ext]['css'] |
|
| 168 | 168 | ); |
| 169 | 169 | |
| 170 | 170 | if (!$this->fs->exists($filedir)) { |