Completed
Pull Request — master (#15)
by Wachter
15:35 queued 05:39
created
tests/Unit/DependencyInjection/HandlerCompilerPassTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $definition->addMethodCall(
37 37
             HandlerCompilerPass::ADD_FUNCTION_NAME,
38 38
             Argument::that(
39
-                function ($arguments) {
39
+                function($arguments) {
40 40
                     return $arguments[0] === 'name-1' && $arguments[1]->__toString() === 'id-1';
41 41
                 }
42 42
             )
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $definition->addMethodCall(
45 45
             HandlerCompilerPass::ADD_FUNCTION_NAME,
46 46
             Argument::that(
47
-                function ($arguments) {
47
+                function($arguments) {
48 48
                     return $arguments[0] === 'name-2-1' && $arguments[1]->__toString() === 'id-2';
49 49
                 }
50 50
             )
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $definition->addMethodCall(
53 53
             HandlerCompilerPass::ADD_FUNCTION_NAME,
54 54
             Argument::that(
55
-                function ($arguments) {
55
+                function($arguments) {
56 56
                     return $arguments[0] === 'name-2-2' && $arguments[1]->__toString() === 'id-2';
57 57
                 }
58 58
             )
Please login to merge, or discard this patch.
tests/Unit/Storage/DoctrineStorageTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         $entityManager->persist(
51 51
             Argument::that(
52
-                function (TaskEntity $entity) use ($date, $completed, $uuid) {
52
+                function(TaskEntity $entity) use ($date, $completed, $uuid) {
53 53
                     $this->assertEquals($uuid, $entity->getUuid());
54 54
                     $this->assertEquals($completed, $entity->isCompleted());
55 55
                     $this->assertEquals($date, $entity->getExecutionDate());
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         } else {
88 88
             $entityManager->persist(
89 89
                 Argument::that(
90
-                    function (TaskEntity $entity) use ($date, $completed, $uuid) {
90
+                    function(TaskEntity $entity) use ($date, $completed, $uuid) {
91 91
                         $this->assertEquals($uuid, $entity->getUuid());
92 92
                         $this->assertEquals($completed, $entity->isCompleted());
93 93
                         $this->assertEquals($date, $entity->getExecutionDate());
Please login to merge, or discard this patch.
tests/Unit/Command/ScheduleTaskCommandTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
                 $cronExpression,
78 78
                 Argument::type(\DateTime::class),
79 79
                 Argument::that(
80
-                    function ($argument) use ($endDate) {
80
+                    function($argument) use ($endDate) {
81 81
                         $this->assertEquals($endDate, $argument, '', 2);
82 82
 
83 83
                         return true;
Please login to merge, or discard this patch.
src/Entity/Task.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-     * @return mixed
29
+     * @return string
30 30
      */
31 31
     public function getIntervalExpression()
32 32
     {
Please login to merge, or discard this patch.