Skip to content

Commit 2b48caa

Browse files
committed
refactor: Remove deprecated View::$currentSection
1 parent f67bc68 commit 2b48caa

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Diff for: system/View/View.php

-12
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,6 @@ class View implements RendererInterface
124124
*/
125125
protected $sections = [];
126126

127-
/**
128-
* The name of the current section being rendered,
129-
* if any.
130-
*
131-
* @var string|null
132-
*
133-
* @deprecated
134-
*/
135-
protected $currentSection;
136-
137127
/**
138128
* The name of the current section being rendered,
139129
* if any.
@@ -420,8 +410,6 @@ public function extend(string $layout)
420410
*/
421411
public function section(string $name)
422412
{
423-
// Saved to prevent BC.
424-
$this->currentSection = $name;
425413
$this->sectionStack[] = $name;
426414

427415
ob_start();

0 commit comments

Comments
 (0)