@@ -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 | |
@@ -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 | } |
@@ -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 | |
| 11 | 11 | namespace Chapi\Service\JobRepository; |
@@ -51,8 +51,7 @@ |
||
| 51 | 51 | ); |
| 52 | 52 | |
| 53 | 53 | return new HttpGuzzlResponse($_oResponse); |
| 54 | - } |
|
| 55 | - catch (\Exception $oException) |
|
| 54 | + } catch (\Exception $oException) |
|
| 56 | 55 | { |
| 57 | 56 | throw new HttpConnectionException( |
| 58 | 57 | sprintf('Can\'t get response from "%s"', $this->oGuzzelClient->getBaseUrl() . $sUrl), |
@@ -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 | namespace Chapi\Service\JobRepository; |
| 11 | 11 | |
@@ -87,8 +87,7 @@ discard block |
||
| 87 | 87 | $this->{$_sKey} = $_mValue; |
| 88 | 88 | } |
| 89 | 89 | } |
| 90 | - } |
|
| 91 | - else |
|
| 90 | + } else |
|
| 92 | 91 | { |
| 93 | 92 | throw new \InvalidArgumentException(sprintf('Argument 1 passed to "%s" must be an array or object', __METHOD__)); |
| 94 | 93 | } |
@@ -136,8 +135,7 @@ discard block |
||
| 136 | 135 | if (!empty($this->schedule)) |
| 137 | 136 | { |
| 138 | 137 | unset($_aReturn['parents']); |
| 139 | - } |
|
| 140 | - else |
|
| 138 | + } else |
|
| 141 | 139 | { |
| 142 | 140 | unset($_aReturn['schedule']); |
| 143 | 141 | unset($_aReturn['scheduleTimeZone']); |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package: chapi |
|
| 4 | - * |
|
| 5 | - * @author: msiebeneicher |
|
| 6 | - * @since: 2015-07-29 |
|
| 7 | - * |
|
| 8 | - */ |
|
| 3 | + * @package: chapi |
|
| 4 | + * |
|
| 5 | + * @author: msiebeneicher |
|
| 6 | + * @since: 2015-07-29 |
|
| 7 | + * |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | |
| 11 | 11 | namespace Chapi\Service\JobRepository; |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package: chapi |
|
| 4 | - * |
|
| 5 | - * @author: msiebeneicher |
|
| 6 | - * @since: 2015-09-10 |
|
| 7 | - */ |
|
| 3 | + * @package: chapi |
|
| 4 | + * |
|
| 5 | + * @author: msiebeneicher |
|
| 6 | + * @since: 2015-09-10 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | |
| 10 | 10 | namespace Chapi\Entity\Chronos; |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package: chapi |
|
| 4 | - * |
|
| 5 | - * @author: msiebeneicher |
|
| 6 | - * @since: 2015-08-23 |
|
| 7 | - * |
|
| 8 | - * @link: https://github.com/msiebeneicher/chapi/issues/18 |
|
| 9 | - */ |
|
| 3 | + * @package: chapi |
|
| 4 | + * |
|
| 5 | + * @author: msiebeneicher |
|
| 6 | + * @since: 2015-08-23 |
|
| 7 | + * |
|
| 8 | + * @link: https://github.com/msiebeneicher/chapi/issues/18 |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Chapi\Entity\Logger; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package: chapi |
|
| 4 | - * |
|
| 5 | - * @author: msiebeneicher |
|
| 6 | - * @since: 2015-09-09 |
|
| 7 | - * |
|
| 8 | - * @link: https://github.com/msiebeneicher/chapi/issues/24 |
|
| 9 | - */ |
|
| 3 | + * @package: chapi |
|
| 4 | + * |
|
| 5 | + * @author: msiebeneicher |
|
| 6 | + * @since: 2015-09-09 |
|
| 7 | + * |
|
| 8 | + * @link: https://github.com/msiebeneicher/chapi/issues/24 |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Chapi\Service\Chronos; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package: chapi |
|
| 4 | - * |
|
| 5 | - * @author: msiebeneicher |
|
| 6 | - * @since: 2015-09-10 |
|
| 7 | - * |
|
| 8 | - * @link: https://github.com/msiebeneicher/chapi/issues/24 |
|
| 9 | - */ |
|
| 3 | + * @package: chapi |
|
| 4 | + * |
|
| 5 | + * @author: msiebeneicher |
|
| 6 | + * @since: 2015-09-10 |
|
| 7 | + * |
|
| 8 | + * @link: https://github.com/msiebeneicher/chapi/issues/24 |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Chapi\Service\JobDependencies; |
| 12 | 12 | |
@@ -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 | |
| 11 | 11 | namespace Chapi\Service\JobIndex; |