Passed
Push — master ( 2eb561...334cb8 )
by Joël
08:06
created
src/helpers/gettext_helper.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     * @param  string $category
21 21
     * @return string
22 22
    */
23
-    function __($expression, $domain=null, $category=null)
23
+    function __($expression, $domain=NULL, $category=NULL)
24 24
     {
25 25
         if (!empty($domain)) {
26 26
             (new \Gettext())->changeDomain($domain);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param string $domain
47 47
      * @param string $category
48 48
      */
49
-    function _e($expression, $domain=null, $category=null)
49
+    function _e($expression, $domain=NULL, $category=NULL)
50 50
     {
51 51
         echo (__($expression, $domain, $category));
52 52
 
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
         $expression_singular,
69 69
         $expression_plural,
70 70
         $number,
71
-        $domain=null,
72
-        $category=null
71
+        $domain=NULL,
72
+        $category=NULL
73 73
     ) {
74 74
         $number = (int) $number;
75 75
 
Please login to merge, or discard this patch.