Completed
Push — master ( 9d34e9...5c91c8 )
by Ilario
07:12
created
src/Twig/FacileMongoDbBundleExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     ];
26 26
 
27 27
     /**
28
-     * @return \Twig_SimpleFunction[]
28
+     * @return TwigFunction[]
29 29
      */
30 30
     public function getFunctions()
31 31
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 use Twig\Extension\AbstractExtension;
7 7
 use Twig\TwigFunction;
8 8
 
9
-if (! class_exists('\Twig\Extension\AbstractExtension')) {
9
+if (!class_exists('\Twig\Extension\AbstractExtension')) {
10 10
     class_alias(\Twig_Extension::class, '\Twig\Extension\AbstractExtension');
11 11
 }
12 12
 
13
-if (! class_exists('\Twig\TwigFunction')) {
13
+if (!class_exists('\Twig\TwigFunction')) {
14 14
     class_alias(\Twig_Function::class, '\Twig\TwigFunction');
15 15
 }
16 16
 
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Facile\MongoDbBundle\DependencyInjection;
4 4
 
5
-use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
6 5
 use Symfony\Component\Config\Definition\Builder\NodeBuilder;
7 6
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
8 7
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Command/AbstractCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,10 +60,10 @@
 block discarded – undo
60 60
         $connectionName = 'mongo.connection';
61 61
 
62 62
         if ($input->getOption('connection')) {
63
-            $connectionName .= '.' . $input->getOption('connection');
63
+            $connectionName .= '.'.$input->getOption('connection');
64 64
         }
65 65
 
66
-        if (! $this->container->has($connectionName)) {
66
+        if (!$this->container->has($connectionName)) {
67 67
             throw new \LogicException(sprintf('No connection named \'%s\' found', $input->getOption('connection')));
68 68
         }
69 69
 
Please login to merge, or discard this patch.