Skip to content

Commit 6a1349e

Browse files
committed
some cleaning
1 parent ae8e17e commit 6a1349e

File tree

5 files changed

+1
-22
lines changed

5 files changed

+1
-22
lines changed

src/Dispatching/Matcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ private function regexParameter(string $name, array $patterns): string
139139

140140
return '(?<' . $name . '>' . $pattern . ')' . $suffix;
141141
}
142-
}
142+
}

src/Exceptions/InvalidCallableException.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44

55
use Exception;
66

7-
/**
8-
* Class InvalidControllerException
9-
*
10-
* @package MiladRahimi\PhpRouter\Exceptions
11-
*/
127
class InvalidCallableException extends Exception
138
{
149
//

src/Exceptions/RouteNotFoundException.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44

55
use Exception;
66

7-
/**
8-
* Class RouteNotFoundException
9-
*
10-
* @package MiladRahimi\PhpRouter\Exceptions
11-
*/
127
class RouteNotFoundException extends Exception
138
{
149
//

src/Exceptions/UndefinedRouteException.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44

55
use Exception;
66

7-
/**
8-
* Class UndefinedRouteException
9-
*
10-
* @package MiladRahimi\PhpRouter\Exceptions
11-
*/
127
class UndefinedRouteException extends Exception
138
{
149
//

src/Services/Publisher.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
namespace MiladRahimi\PhpRouter\Services;
44

5-
/**
6-
* Interface Publisher
7-
* Publishers are responsible to publish the response provided by controllers
8-
*
9-
* @package MiladRahimi\PhpRouter\Services
10-
*/
115
interface Publisher
126
{
137
/**

0 commit comments

Comments
 (0)