Skip to content

Commit

Permalink
Move Exception. Change namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
katsan-misha committed Aug 20, 2021
1 parent 34908b5 commit 6bc1bfb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"autoload": {
"psr-4": {
"memCrab\\Router\\": "src/"
"Memcrab\\Router\\": "src/"
}
}
}
4 changes: 2 additions & 2 deletions src/Router.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare (strict_types = 1);
namespace memCrab\Router;
use memCrab\Exceptions\RoutingException;
namespace Memcrab\Router;
use Memcrab\Router\RoutingException;

/**
* Router for core project
Expand Down
5 changes: 5 additions & 0 deletions src/RoutingException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
declare (strict_types = 1);
namespace Memcrab\Router;

class RoutingException extends \Exception {}

0 comments on commit 6bc1bfb

Please sign in to comment.