Completed
Pull Request — master (#106)
by De Cramer
03:01
created
src/eXpansion/Framework/Core/Model/UserGroups/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * @param string $name
36 36
      * @param DispatcherInterface $dispatcher
37 37
      */
38
-    public function __construct( $name = null, DispatcherInterface $dispatcher)
38
+    public function __construct($name = null, DispatcherInterface $dispatcher)
39 39
     {
40 40
         if (is_null($name)) {
41 41
             $this->name = spl_object_hash($this);
Please login to merge, or discard this patch.
src/eXpansion/Bundle/AdminChat/ChatCommand/AdminCommand.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@
 block discarded – undo
7 7
 use eXpansion\Framework\Core\Helpers\Time;
8 8
 use eXpansion\Framework\Core\Storage\PlayerStorage;
9 9
 use Maniaplanet\DedicatedServer\Connection;
10
-use Monolog\Logger;
11 10
 use Psr\Log\LoggerInterface;
12
-use Symfony\Component\Console\Input\InputArgument;
13 11
 use Symfony\Component\Console\Input\InputInterface;
14 12
 
15 13
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@
 block discarded – undo
79 79
             $timeHelper
80 80
         );
81 81
 
82
-        $this->description = 'expansion_admin_chat.' . strtolower($functionName) . '.description';
83
-        $this->chatMessage = 'expansion_admin_chat.' . strtolower($functionName) . '.msg';
82
+        $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description';
83
+        $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg';
84 84
         $this->functionName = $functionName;
85 85
     }
86 86
 
Please login to merge, or discard this patch.
src/eXpansion/Bundle/AdminChat/ChatCommand/OneParameterCommand.php 3 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,6 @@
 block discarded – undo
54 54
      * @param $command
55 55
      * @param string $permission
56 56
      * @param array $aliases
57
-     * @param AdminGroups $description
58
-     * @param Connection $chatMessage
59 57
      * @param ChatNotification $functionName
60 58
      * @param PlayerStorage $parameterDescription
61 59
      * @param AdminGroups $adminGroupsHelper
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use eXpansion\Framework\Core\Helpers\Time;
8 8
 use eXpansion\Framework\Core\Storage\PlayerStorage;
9 9
 use Maniaplanet\DedicatedServer\Connection;
10
-use Monolog\Logger;
11 10
 use Psr\Log\LoggerInterface;
12 11
 use Symfony\Component\Console\Input\InputArgument;
13 12
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,8 @@
 block discarded – undo
90 90
             $timeHelper
91 91
         );
92 92
 
93
-        $this->description = 'expansion_admin_chat.' . strtolower($functionName) . '.description';
94
-        $this->chatMessage = 'expansion_admin_chat.' . strtolower($functionName) . '.msg';
93
+        $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description';
94
+        $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg';
95 95
         $this->functionName = $functionName;
96 96
         $this->parameterDescription = $parameterDescription;
97 97
     }
Please login to merge, or discard this patch.
src/eXpansion/Bundle/AdminChat/ChatCommand/ReasonUserCommand.php 3 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,6 @@
 block discarded – undo
62 62
      * @param $command
63 63
      * @param string $permission
64 64
      * @param array $aliases
65
-     * @param AdminGroups $description
66
-     * @param Connection $chatMessage
67 65
      * @param ChatNotification $functionName
68 66
      * @param PlayerStorage $parameterLoginDescription
69 67
      * @param LoggerInterface $parameterReasonDescription
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use eXpansion\Framework\Core\Helpers\Time;
8 8
 use eXpansion\Framework\Core\Storage\PlayerStorage;
9 9
 use Maniaplanet\DedicatedServer\Connection;
10
-use Monolog\Logger;
11 10
 use Psr\Log\LoggerInterface;
12 11
 use Symfony\Component\Console\Input\InputArgument;
13 12
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,8 @@
 block discarded – undo
100 100
             $timeHelper
101 101
         );
102 102
 
103
-        $this->description = 'expansion_admin_chat.' . strtolower($functionName) . '.description';
104
-        $this->chatMessage = 'expansion_admin_chat.' . strtolower($functionName) . '.msg';
103
+        $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description';
104
+        $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg';
105 105
         $this->functionName = $functionName;
106 106
         $this->parameterLoginDescription = $parameterLoginDescription;
107 107
         $this->parameterReasonDescription = $parameterReasonDescription;
Please login to merge, or discard this patch.