| 1 | <?php defined('SYSPATH') or die('No direct access allowed.'); |
||
| 17 | abstract class Template_Controller extends Controller |
||
| 18 | { |
||
| 19 | |||
| 20 | // Template view name |
||
| 21 | public $template = 'template'; |
||
| 22 | |||
| 23 | // Default to do auto-rendering |
||
| 24 | public $auto_render = true; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Template loading and setup routine. |
||
| 28 | */ |
||
| 29 | public function __construct() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Render the loaded template. |
||
| 44 | */ |
||
| 45 | public function _render() |
||
| 52 | } // End Template_Controller |
||
| 53 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..