PluginProbe
Tiered Pricing Table for WooCommerce / 2.1.2
Tiered Pricing Table for WooCommerce v2.1.2
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
← All changes | freemius/includes/managers/class-fs-key-value-storage.php +0 -10 8.0.2 → 2.1.2 View file →
@@ -297,9 +297,8 @@
297 297 function __get( $k ) {
298 298 return $this->get( $k, null );
299 299 }
300 300
301 - #[ReturnTypeWillChange]
302 301 function offsetSet( $k, $v ) {
303 302 if ( is_null( $k ) ) {
304 303 throw new Exception( 'Can\'t append value to request params.' );
305 304 } else {
@@ -306,19 +305,16 @@
306 305 $this->{$k} = $v;
307 306 }
308 307 }
309 308
310 - #[ReturnTypeWillChange]
311 309 function offsetExists( $k ) {
312 310 return array_key_exists( $k, $this->_data );
313 311 }
314 312
315 - #[ReturnTypeWillChange]
316 313 function offsetUnset( $k ) {
317 314 unset( $this->$k );
318 315 }
319 316
320 - #[ReturnTypeWillChange]
321 317 function offsetGet( $k ) {
322 318 return $this->get( $k, null );
323 319 }
324 320
@@ -328,9 +324,8 @@
328 324 *
329 325 * @link http://php.net/manual/en/iterator.current.php
330 326 * @return mixed Can return any type.
331 327 */
332 - #[ReturnTypeWillChange]
333 328 public function current() {
334 329 return current( $this->_data );
335 330 }
336 331
@@ -340,9 +335,8 @@
340 335 *
341 336 * @link http://php.net/manual/en/iterator.next.php
342 337 * @return void Any returned value is ignored.
343 338 */
344 - #[ReturnTypeWillChange]
345 339 public function next() {
346 340 next( $this->_data );
347 341 }
348 342
@@ -352,9 +346,8 @@
352 346 *
353 347 * @link http://php.net/manual/en/iterator.key.php
354 348 * @return mixed scalar on success, or null on failure.
355 349 */
356 - #[ReturnTypeWillChange]
357 350 public function key() {
358 351 return key( $this->_data );
359 352 }
360 353
@@ -365,9 +358,8 @@
365 358 * @link http://php.net/manual/en/iterator.valid.php
366 359 * @return boolean The return value will be casted to boolean and then evaluated.
367 360 * Returns true on success or false on failure.
368 361 */
369 - #[ReturnTypeWillChange]
370 362 public function valid() {
371 363 $key = key( $this->_data );
372 364
373 365 return ( $key !== null && $key !== false );
@@ -379,9 +371,8 @@
379 371 *
380 372 * @link http://php.net/manual/en/iterator.rewind.php
381 373 * @return void Any returned value is ignored.
382 374 */
383 - #[ReturnTypeWillChange]
384 375 public function rewind() {
385 376 reset( $this->_data );
386 377 }
387 378
@@ -394,9 +385,8 @@
394 385 * </p>
395 386 * <p>
396 387 * The return value is cast to an integer.
397 388 */
398 - #[ReturnTypeWillChange]
399 389 public function count() {
400 390 return count( $this->_data );
401 391 }
402 392 }