PluginProbe
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More / 2.6.1
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More v2.6.1
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.10 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 47 releases
← All changes | classes/Base/Upgrade.php +8 -2 2.0.122.6.1 View file →
@@ -142,12 +142,18 @@
142 142 * complete_upgrades: Closure,
143 143 * start_task: Closure,
144 144 * update_task_progress:Closure,
145 145 * complete_task: Closure
146 - * }&stdClass) Stream.
146 + * }&\stdClass) Stream.
147 147 */
148 148 public function stream() {
149 - $noop = function () {};
149 + $noop =
150 + /**
151 + * No-op.
152 + *
153 + * @return void
154 + */
155 + function () {};
150 156
151 157 return is_a( $this->stream, '\ContentControl\Services\UpgradeStream' ) ? $this->stream : (object) [
152 158 'send_event' => $noop,
153 159 'send_error' => $noop,