Completed
Branch master (23ab1d)
by Salah
06:36
created
src/Middleware/BaseNumbersMiddleware.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * get options from config
44
-     * @param $key
44
+     * @param string $key
45 45
      * @param null $default
46 46
      * @return array
47 47
      */
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * check if transform from (arabic|english) to eastern
55 55
      *
56
-     * @return string
56
+     * @return boolean
57 57
      */
58 58
     public function isFromArabic()
59 59
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * transform eastern/(arabic|english) numbers to (arabic|english)/eastern numbers inside string
81 81
      *
82
-     * @param $value
82
+     * @param string $value
83 83
      * @return string
84 84
      */
85 85
     protected function transformNumber($value)
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * get array numbers to transforms
92 92
      *
93
-     * @return array
93
+     * @return string
94 94
      */
95 95
     protected function getNumbers()
96 96
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * check if transform from (arabic|english) to eastern
102 102
      *
103
-     * @return string
103
+     * @return boolean
104 104
      */
105 105
     public function isFromEastern()
106 106
     {
Please login to merge, or discard this patch.