Skip to content

Commit cc6c4a7

Browse files
lens0021grogy
authored andcommitted
docs: Fix mixed tabs
Use 4 spaces.
1 parent d8eca48 commit cc6c4a7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: doc/syntax-error-callback.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ use JakubOnderka\PhpParallelLint\Contracts\SyntaxErrorCallback;
1515
use JakubOnderka\PhpParallelLint\SyntaxError;
1616

1717
class MyCustomErrorHandler implements SyntaxErrorCallback {
18-
/**
18+
/**
1919
* @param SyntaxError $error
2020
* @return SyntaxError
2121
*/
2222
public function errorFound(SyntaxError $error){
23-
// Return new SyntaxError with custom modification to FilePath or Message
24-
// Or return custom implementation of SyntaxError extending the original one...
25-
return new SyntaxError(
26-
$error->getFilePath(),
27-
$error->getMessage()
28-
);
23+
// Return new SyntaxError with custom modification to FilePath or Message
24+
// Or return custom implementation of SyntaxError extending the original one...
25+
return new SyntaxError(
26+
$error->getFilePath(),
27+
$error->getMessage()
28+
);
2929
}
3030
}
3131
```

0 commit comments

Comments
 (0)