@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-28 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-28 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | |
11 | 11 | namespace Chapi\Component\Chronos; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-28 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-28 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | |
11 | 11 | namespace Chapi\Component\Chronos; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-09-20 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-09-20 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | |
11 | 11 | namespace Chapi\Component\Command; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-09-20 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-09-20 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | |
11 | 11 | namespace Chapi\Component\Command; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-09-02 |
|
7 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-09-02 |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Chapi\Component\Command; |
10 | 10 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-09-02 |
|
7 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-09-02 |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Chapi\Component\Command; |
10 | 10 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-30 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-30 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | namespace Chapi\Component\Comparison; |
10 | 10 | |
11 | 11 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-30 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-30 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | namespace Chapi\Component\Comparison; |
10 | 10 | |
11 | 11 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: chapi |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-07-31 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: chapi |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-07-31 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Chapi\Component\DatePeriod; |
11 | 11 |
@@ -38,8 +38,7 @@ discard block |
||
38 | 38 | try |
39 | 39 | { |
40 | 40 | return self::$aIso8601Entity[$_sKey] = new Iso8601Entity($sIso8601); |
41 | - } |
|
42 | - catch (\InvalidArgumentException $_oException) |
|
41 | + } catch (\InvalidArgumentException $_oException) |
|
43 | 42 | { |
44 | 43 | throw new DatePeriodException(sprintf("Can't init Iso8601Entity for '%s' iso 8601 string.", $sIso8601), 1, $_oException); |
45 | 44 | } |
@@ -58,8 +57,7 @@ discard block |
||
58 | 57 | { |
59 | 58 | $_oDateStart = new \DateTime(str_replace('Z', '', $_oIso8601Entity->sStartTime)); |
60 | 59 | $_oDateStart->setTimezone(new \DateTimeZone($sTimeZone)); |
61 | - } |
|
62 | - else |
|
60 | + } else |
|
63 | 61 | { |
64 | 62 | $_oDateStart = new \DateTime($_oIso8601Entity->sStartTime); |
65 | 63 | } |