PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | src/Framework/Blocks/BlockCollection.php +2 -1 4.16.1 → 4.17.0 View file →
@@ -112,13 +112,14 @@
112 112 // @todo Throw exception if not found.
113 113 }
114 114
115 115 /**
116 + * @since 4.17.0 Declare the nullable parameter explicitly.
116 117 * @since 3.0.0
117 118 *
118 119 * @return BlockModel|BlockCollection|null
119 120 */
120 - private function findByNameRecursive(string $blockName, int $blockIndex = 0, string $return = 'self', BlockCollection $blockCollection = null, int &$count = 0)
121 + private function findByNameRecursive(string $blockName, int $blockIndex = 0, string $return = 'self', ?BlockCollection $blockCollection = null, int &$count = 0)
121 122 {
122 123 if (!$blockCollection) {
123 124 $blockCollection = $this;
124 125 }