PluginProbe
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions / 260917
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions v260917
260927 260917 260913 260909 260829 260814 260805 110710 110731 110812 110815 110912 110913 110915 110926 110927 111002 111003 111011 111017 111029 111105 111206 111216 111220 All 190 releases
← All changes | src/includes/externals/aweber/aweber_entry_data_array.php +13 -0 260814 → 260917 View file →
@@ -15,20 +15,26 @@
15 15 $this->name = $name;
16 16 $this->parent = $parent;
17 17 }
18 18
19 + //260816 Suppress PHP 8.1+ tentative Countable return-type deprecation while preserving PHP 5.6 compatibility.
20 + #[\ReturnTypeWillChange]
19 21 public function count() {
20 22 return sizeOf($this->data);
21 23 }
22 24
25 + //260816 Suppress PHP 8.1+ tentative ArrayAccess return-type deprecations while preserving PHP 5.6 compatibility.
26 + #[\ReturnTypeWillChange]
23 27 public function offsetExists($offset) {
24 28 return (isset($this->data[$offset]));
25 29 }
26 30
31 + #[\ReturnTypeWillChange]
27 32 public function offsetGet($offset) {
28 33 return $this->data[$offset];
29 34 }
30 35
36 + #[\ReturnTypeWillChange]
31 37 public function offsetSet($offset, $value) {
32 38 $this->data[$offset] = $value;
33 39 $this->parent->{$this->name} = $this->data;
34 40 return $value;
@@ -33,28 +39,35 @@
33 39 $this->parent->{$this->name} = $this->data;
34 40 return $value;
35 41 }
36 42
43 + #[\ReturnTypeWillChange]
37 44 public function offsetUnset($offset) {
38 45 unset($this->data[$offset]);
39 46 }
40 47
48 + //260816 Suppress PHP 8.1+ tentative Iterator return-type deprecations while preserving PHP 5.6 compatibility.
49 + #[\ReturnTypeWillChange]
41 50 public function rewind() {
42 51 $this->counter = 0;
43 52 }
44 53
54 + #[\ReturnTypeWillChange]
45 55 public function current() {
46 56 return $this->data[$this->key()];
47 57 }
48 58
59 + #[\ReturnTypeWillChange]
49 60 public function key() {
50 61 return $this->keys[$this->counter];
51 62 }
52 63
64 + #[\ReturnTypeWillChange]
53 65 public function next() {
54 66 $this->counter++;
55 67 }
56 68
69 + #[\ReturnTypeWillChange]
57 70 public function valid() {
58 71 if ($this->counter >= sizeOf($this->data)) {
59 72 return false;
60 73 }