Skip to content

Commit

Permalink
Remove GeometryEngineException::noEngineSet()
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Oct 10, 2022
1 parent ba04be4 commit cae698e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ composer require brick/geo

Then head on to the [Configuration](#configuration) section to configure a GIS geometry engine.

Failure to configure a geometry engine would result in a `GeometryEngineException` being thrown when trying to use a method that requires one.

Project status & release process
--------------------------------

Expand Down
5 changes: 0 additions & 5 deletions src/Exception/GeometryEngineException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
*/
class GeometryEngineException extends GeometryException
{
public static function noEngineSet() : GeometryEngineException
{
return new self('A GeometryEngine must be set to support this feature.');
}

public static function unimplementedMethod(string $methodName) : GeometryEngineException
{
$message = sprintf('%s() is currently not implemented.', $methodName);
Expand Down

0 comments on commit cae698e

Please sign in to comment.