Completed
Pull Request — master (#158)
by
unknown
06:10 queued 03:10
created
Settings/Personal/UnderscoreEscaper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         $string = preg_replace_callback(
37 37
             '/[^a-zA-Z0-9_]/u',
38
-            function ($matches) {
38
+            function($matches) {
39 39
                 return '-' . bin2hex($matches[0]) . '-';
40 40
             },
41 41
             $string
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         $string = preg_replace_callback(
61 61
             '/-([0-9a-f]+)-/u',
62
-            function ($matches) {
62
+            function($matches) {
63 63
                 return hex2bin($matches[1]);
64 64
             },
65 65
             $string
Please login to merge, or discard this patch.
DependencyInjection/Compiler/ProviderPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         // elements comes out reversed compared to original.
61 61
         uasort(
62 62
             $providers,
63
-            function ($a, $b) {
63
+            function($a, $b) {
64 64
                 if ($a['priority'] == $b['priority']) {
65 65
                     return 0;
66 66
                 }
Please login to merge, or discard this patch.
Twig/ImagePathExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return array
44
+     * @return \Twig_SimpleFunction[]
45 45
      */
46 46
     public function getFunctions()
47 47
     {
Please login to merge, or discard this patch.
Twig/PersonalSettingWidgetExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      * @param string $settingName
61 61
      * @param bool   $mustAuthorize
62 62
      *
63
-     * @return mixed
63
+     * @return boolean
64 64
      */
65 65
     public function getSettingEnabled($settingName, $mustAuthorize = true)
66 66
     {
Please login to merge, or discard this patch.
Tests/Functional/Settings/SettingsManagerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
      *
162 162
      * @param string $name
163 163
      * @param string $type
164
-     * @param mixed  $value
164
+     * @param string  $value
165 165
      * @param string $profile
166 166
      *
167 167
      * @return Setting
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
17 17
 use ONGR\ElasticsearchBundle\Service\Manager;
18 18
 use ONGR\ElasticsearchDSL\Query\MatchAllQuery;
19
-use Symfony\Component\Translation\TranslatorInterface;
20 19
 use Symfony\Component\DependencyInjection\ContainerInterface;
21 20
 
22 21
 /**
Please login to merge, or discard this patch.
Twig/EncryptionExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     public function getFilters()
27 27
     {
28 28
         return [
29
-            'base64Encode' => new \Twig_SimpleFilter('base64Encode', [$this,'base64EncodeFilter'])
29
+            'base64Encode' => new \Twig_SimpleFilter('base64Encode', [$this, 'base64EncodeFilter'])
30 30
         ];
31 31
     }
32 32
 
Please login to merge, or discard this patch.