Completed
Push — master ( a52438...bf8826 )
by Henry
06:30
created

includes/Bootstrap/BootstrapAbstract.php (1 issue)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
namespace Redaxscript\Bootstrap;
3
4
use Redaxscript\Registry;
5
use Redaxscript\Request;
6
7
/**
8
 * abstract class to create a bootstrap class
9
 *
10
 * @since 3.1.0
11
 *
12
 * @package Redaxscript
13
 * @category Bootstrap
14
 * @author Henry Ruhs
15
 *
16
 * @method protected autorun()
17
 */
18
19
abstract class BootstrapAbstract implements BootstrapInterface
20
{
21
	/**
22
	 * constructor of the class
23
	 *
24
	 * @since 3.1.0
25
	 *
26
	 * @param Registry $_registry instance of the registry class
27
	 * @param Request $_request instance of the request class
28
	 */
29
30
	public function __construct(protected Registry $_registry, protected Request $_request)
0 ignored issues
show
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_PROTECTED, expecting T_VARIABLE
Loading history...
31
	{
32
		$this->autorun();
33
	}
34
}
35