Completed
Pull Request — experimental/3.1 (#2431)
by chihiro
44:53
created
src/Eccube/Twig/Extension/EccubeExtension.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Returns a list of functions to add to the existing list.
42 42
      *
43
-     * @return array An array of functions
43
+     * @return \Twig_SimpleFunction[] An array of functions
44 44
      */
45 45
     public function getFunctions()
46 46
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Returns a list of filters.
63 63
      *
64
-     * @return array
64
+     * @return \Twig_SimpleFilter[]
65 65
      */
66 66
     public function getFilters()
67 67
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                     if (is_callable($function)) {
69 69
                         return call_user_func_array($function, $arg_list);
70 70
                     }
71
-                    trigger_error('Called to an undefined function : php_'. $function, E_USER_WARNING);
71
+                    trigger_error('Called to an undefined function : php_'.$function, E_USER_WARNING);
72 72
 
73 73
             }, ['pre_escape' => 'html', 'is_safe' => ['html']]),
74 74
 
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     public function getCsrfTokenForAnchor()
157 157
     {
158 158
         $token = $this->app['csrf.token_manager']->getToken(Constant::TOKEN_NAME)->getValue();
159
-        return 'token-for-anchor=\'' . $token . '\'';
159
+        return 'token-for-anchor=\''.$token.'\'';
160 160
     }
161 161
 
162 162
     /**
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/OrderType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
 use Symfony\Component\Form\AbstractType;
37 37
 use Symfony\Component\Form\Extension\Core\Type\CollectionType;
38 38
 use Symfony\Component\Form\Extension\Core\Type\EmailType;
39
-use Symfony\Component\Form\Extension\Core\Type\FormType;
40 39
 use Symfony\Component\Form\Extension\Core\Type\HiddenType;
41 40
 use Symfony\Component\Form\Extension\Core\Type\TextareaType;
42 41
 use Symfony\Component\Form\Extension\Core\Type\TextType;
Please login to merge, or discard this patch.
src/Eccube/Form/Type/PriceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function configureOptions(OptionsResolver $resolver)
67 67
     {
68
-        $constraints = function (Options $options) {
68
+        $constraints = function(Options $options) {
69 69
             $constraints = [];
70 70
 
71 71
             // requiredがtrueに指定されている場合, NotBlankを追加
Please login to merge, or discard this patch.