@@ -7,14 +7,14 @@ |
||
| 7 | 7 | |
| 8 | 8 | // preparation |
| 9 | 9 | if (!is_dir($dir)) { |
| 10 | - mkdir($dir); |
|
| 10 | + mkdir($dir); |
|
| 11 | 11 | } |
| 12 | 12 | if (file_exists($file)) { |
| 13 | - unlink($file); |
|
| 13 | + unlink($file); |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | $phar = new Phar( |
| 17 | - $file, |
|
| 17 | + $file, |
|
| 18 | 18 | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::KEY_AS_FILENAME, |
| 19 | 19 | 'threema_msgapi.phar' |
| 20 | 20 | ); |
@@ -529,8 +529,8 @@ |
||
| 529 | 529 | $ret = 0; |
| 530 | 530 | $length = strlen($str1); |
| 531 | 531 | for ($i = 0; $i < $length; ++$i) { |
| 532 | - $ret |= ord($str1[$i]) ^ ord($str2[$i]); |
|
| 533 | - } |
|
| 532 | + $ret |= ord($str1[$i]) ^ ord($str2[$i]); |
|
| 533 | + } |
|
| 534 | 534 | return 0 === $ret; |
| 535 | 535 | } |
| 536 | 536 | } |