Skip to content

Commit c43687e

Browse files
committed
Add exception marker interface
1 parent f3a97d6 commit c43687e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/DateRangeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Date range exception.
1818
*/
19-
final class DateRangeException extends DomainException
19+
final class DateRangeException extends DomainException implements Exception
2020
{
2121
/**
2222
* @param string $message

src/Exception.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* This file is part of Zee Project.
4+
*
5+
* For the full copyright and license information, please view the LICENSE
6+
* file that was distributed with this source code.
7+
*
8+
* @see https://github.com/zee/
9+
*/
10+
11+
namespace Zee\DateRange;
12+
13+
/**
14+
* Marker interface.
15+
*/
16+
interface Exception
17+
{
18+
}

0 commit comments

Comments
 (0)