Skip to content

Commit

Permalink
Refactor exception message formatting in AbstractConverter (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis authored Jan 28, 2024
1 parent 1d8c3c5 commit 95b78ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Converters/AbstractConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract class AbstractConverter
*/
public function toInternal(string $source): SourceSuite
{
throw new Exception('Method \"' . __METHOD__ . '\" is not available');
throw new Exception('Method "' . __METHOD__ . '" is not available');
}

/**
Expand All @@ -45,7 +45,7 @@ public function toInternal(string $source): SourceSuite
*/
public function fromInternal(SourceSuite $sourceSuite): string
{
throw new Exception('Method \"' . __METHOD__ . '\" is not available');
throw new Exception('Method "' . __METHOD__ . '" is not available');
}

public function setRootPath(string $rootPath): self
Expand Down

0 comments on commit 95b78ba

Please sign in to comment.