Skip to content

Commit 0f7098d

Browse files
committed
Edited comment regarding property and changed from public to protected method
1 parent 4a7df00 commit 0f7098d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/Controllers/BaseController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ abstract class BaseController extends Controller
3838
protected $helpers = [];
3939

4040
/**
41-
* To declare the session propety to allow for global
42-
* initialization in the initController() method
43-
* See the Creation of dynamic property depreciation i php 8.2
41+
* Be sure to declare properties for anything you assign.
42+
* The creation of dynamic property is deprecated in PHP 8.2.
43+
*
44+
* protected $session;
4445
*/
45-
// public $session;
4646

4747
/**
4848
* Constructor.

0 commit comments

Comments
 (0)