Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit 737a1e2

Browse files
committed
Code style
1 parent 6c669cd commit 737a1e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ protected function translateTokens($message)
176176
'T_XOR_EQUAL' => '^=',
177177
);
178178

179-
return preg_replace_callback('~T_([A-Z_]*)~', function($matches) use($translateTokens) {
179+
return preg_replace_callback('~T_([A-Z_]*)~', function ($matches) use ($translateTokens) {
180180
list($tokenName) = $matches;
181181
if (isset($translateTokens[$tokenName])) {
182182
$operator = $translateTokens[$tokenName];

src/Manager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ protected function getPhpExecutableVersion($phpExecutable)
176176
*/
177177
protected function phpVersionIdToString($phpVersionId)
178178
{
179-
$releaseVersion = (int)substr($phpVersionId, -2, 2);
180-
$minorVersion = (int)substr($phpVersionId, -4, 2);
181-
$majorVersion = (int)substr($phpVersionId, 0, strlen($phpVersionId)-4);
179+
$releaseVersion = (int) substr($phpVersionId, -2, 2);
180+
$minorVersion = (int) substr($phpVersionId, -4, 2);
181+
$majorVersion = (int) substr($phpVersionId, 0, strlen($phpVersionId)-4);
182182

183183
return "$majorVersion.$minorVersion.$releaseVersion";
184184
}

0 commit comments

Comments
 (0)