Commit 2f088552 authored by Franco Fichtner's avatar Franco Fichtner

mvc: style sweep

parent 6411baea
......@@ -41,8 +41,8 @@ use \OPNsense\Base\UIModelGrid;
*/
class SettingsController extends ApiMutableModelControllerBase
{
static protected $internalModelName = 'ids';
static protected $internalModelClass = '\OPNsense\IDS\IDS';
static protected $internalModelName = 'ids';
static protected $internalModelClass = '\OPNsense\IDS\IDS';
/**
* @return array plain model settings (non repeating items)
......@@ -148,7 +148,7 @@ class SettingsController extends ApiMutableModelControllerBase
* @param string|null $sid rule identifier
* @return array|mixed
*/
public function getRuleInfoAction($sid=null)
public function getRuleInfoAction($sid = null)
{
// request list of installed rules
if (!empty($sid)) {
......
......@@ -39,8 +39,8 @@ use \OPNsense\Base\UIModelGrid;
*/
class SettingsController extends ApiMutableModelControllerBase
{
static protected $internalModelName = 'proxy';
static protected $internalModelClass = '\OPNsense\Proxy\Proxy';
static protected $internalModelName = 'proxy';
static protected $internalModelClass = '\OPNsense\Proxy\Proxy';
/**
*
......
......@@ -80,7 +80,7 @@ class BaseModelTest extends \PHPUnit_Framework_TestCase
BaseModelTest::$model->arraytypes->item->Del($nodeid);
}
// generate new items
for ($i = 1; $i <= 10 ; $i++) {
for ($i = 1; $i <= 10; $i++) {
$node = BaseModelTest::$model->arraytypes->item->Add();
$node->number = $i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment