Skip to content

Commit

Permalink
coding standard
Browse files Browse the repository at this point in the history
coding standard

coding standard

coding standard

Used: validators

Fixing bug

Fixing bug

Fixing bug
  • Loading branch information
JanGalek committed Apr 13, 2018
1 parent 4743ff5 commit 2c08013
Show file tree
Hide file tree
Showing 25 changed files with 565 additions and 614 deletions.
4 changes: 2 additions & 2 deletions src/Galek/Utils/Calendar/Business/IShipper.php
Expand Up @@ -4,7 +4,7 @@
* User: Galek
* Date: 4.4.2018
*/
declare(strict_types=1);
declare(strict_types = 1);

namespace Galek\Utils\Calendar\Business;

Expand All @@ -14,7 +14,7 @@

interface IShipper
{
public function getName(): string ;
public function getName(): string;

public function getCurrentDate(): Calendar;

Expand Down
4 changes: 2 additions & 2 deletions src/Galek/Utils/Calendar/Business/Shipper.php
Expand Up @@ -4,7 +4,7 @@
* User: Galek
* Date: 9.3.2018
*/
declare(strict_types=1);
declare(strict_types = 1);

namespace Galek\Utils\Calendar\Business;

Expand Down Expand Up @@ -124,7 +124,7 @@ public function getDeliveryTextDate(string $format = 'Y.m.d'): string
$at = $local->getAt($dayNumber);
$day = $local->getInflexion($dayNumber, 4);

return $at . ' ' . $day . ' ' .$date->format($format);
return $at . ' ' . $day . ' ' . $date->format($format);
}


Expand Down
6 changes: 3 additions & 3 deletions src/Galek/Utils/Calendar/Business/Work.php
Expand Up @@ -4,7 +4,7 @@
* User: Jan Galek
* Date: 10.03.2018
*/
declare(strict_types=1);
declare(strict_types = 1);

namespace Galek\Utils\Calendar\Business;

Expand All @@ -29,8 +29,8 @@ public function __construct(Localization $localization, array $settings)
{
$startHour = $settings['start']['hour'];
$startMinute = $settings['start']['minute'];
$endHour = $settings['start']['hour'];
$endMinute = $settings['start']['minute'];
$endHour = $settings['end']['hour'];
$endMinute = $settings['end']['minute'];
HourValidator::validate($startHour);
MinuteValidator::validate($startMinute);
HourValidator::validate($endHour);
Expand Down

0 comments on commit 2c08013

Please sign in to comment.