Completed
Branch master (081637)
by Eric
04:40
created
Tests/DependencyInjection/Compiler/RegisterMenuPassTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder
90
+     * @return ContainerBuilder
91 91
      */
92 92
     private function createContainerBuilderMock()
93 93
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             ->method('setDefinition')
56 56
             ->with(
57 57
                 $this->identicalTo($service.'.menu'),
58
-                $this->callback(function (Definition $definition) use ($service, $alias) {
58
+                $this->callback(function(Definition $definition) use ($service, $alias) {
59 59
                     return $definition->getClass() === ItemInterface::class
60 60
                         && $definition->getTag('knp_menu.menu') === [['alias' => $alias]]
61 61
                         && is_array($factory = $definition->getFactory())
Please login to merge, or discard this patch.
Tests/LugUiBundleTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder
54
+     * @return ContainerBuilder
55 55
      */
56 56
     private function createContainerBuilderMock()
57 57
     {
Please login to merge, or discard this patch.
Tests/Menu/MenuBuilderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             ->method('dispatch')
76 76
             ->with(
77 77
                 $this->identicalTo(MenuBuilderEvents::BUILD),
78
-                $this->callback(function (MenuBuilderEvent $event) use ($item) {
78
+                $this->callback(function(MenuBuilderEvent $event) use ($item) {
79 79
                     return $event->getFactory() === $this->factory
80 80
                         && $event->getItem() === $item;
81 81
                 })
Please login to merge, or discard this patch.