We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e61e0a0 commit 1f47818Copy full SHA for 1f47818
src/Processor/QuotedProcessor.php
@@ -26,6 +26,6 @@ public function execute()
26
27
private function isWrappedByChar(string $value, string $char) : bool
28
{
29
- return $value[0] === $char && $value[-1] === $char;
+ return !empty($value) && $value[0] === $char && $value[-1] === $char;
30
}
31
0 commit comments