Skip to content
Snippets Groups Projects
Commit 27f046fe authored by dpi's avatar dpi
Browse files

Coding standards fixes

parent 8580192d
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ class OhTestExceptionSubscriber implements EventSubscriberInterface {
/**
* Scenarios to run.
*
* @var string[]
*/
protected $scenarios = [];
......@@ -39,7 +41,7 @@ class OhTestExceptionSubscriber implements EventSubscriberInterface {
$endDay = new DrupalDateTime('1 January 2016 00:00');
$dayPointer = new DrupalDateTime('1 January 2015 00:00');
while ($dayPointer < $endDay) {
// Monday = '1';
// e.g Monday == '1':
if ($dayPointer->format('w') == 1) {
$start = clone $dayPointer;
$end = (clone $start)->setTime(23, 59, 59);
......
......@@ -15,6 +15,8 @@ class OhTestRegularSubscriber implements EventSubscriberInterface {
/**
* Scenarios to run.
*
* @var string[]
*/
protected $scenarios = [];
......
......@@ -110,7 +110,7 @@ class OhDateRangeTest extends KernelTestBase {
}
/**
* Tests isWithin utility
* Tests isWithin utility.
*
* @covers ::isWithin
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment