File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public function setArray($array)
124124 *
125125 * @return int|null|string
126126 */
127- public function increment ($ key , int $ factor = 1 )
127+ public function incrementValue ($ key , int $ factor = 1 )
128128 {
129129 $ currentValue = $ this ->get ($ key ) ?? 0 ;
130130 $ newValue = $ currentValue + $ factor ;
@@ -145,7 +145,7 @@ public function increment($key, int $factor = 1)
145145 *
146146 * @return int|null|string
147147 */
148- public function decrement ($ key , int $ factor = 1 )
148+ public function decrementValue ($ key , int $ factor = 1 )
149149 {
150150 $ currentValue = $ this ->get ($ key ) ?? 0 ;
151151 $ newValue = $ currentValue - $ factor ;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function setArray($array)
8989 *
9090 * @return int|null|string
9191 */
92- public function increment ($ key , int $ factor = 1 )
92+ public function incrementValue ($ key , int $ factor = 1 )
9393 {
9494 $ currentValue = $ this ->get ($ key ) ?? 0 ;
9595 $ newValue = $ currentValue + $ factor ;
@@ -107,7 +107,7 @@ public function increment($key, int $factor = 1)
107107 *
108108 * @return int|null|string
109109 */
110- public function decrement ($ key , int $ factor = 1 )
110+ public function decrementValue ($ key , int $ factor = 1 )
111111 {
112112 $ currentValue = $ this ->get ($ key ) ?? 0 ;
113113 $ newValue = $ currentValue - $ factor ;
You can’t perform that action at this time.
0 commit comments