Passed
Push — master ( 3256e3...60c4f2 )
by Georgi
03:14
created

FileStorageList::getUpdateModal()   B

Complexity

Conditions 8
Paths 1

Size

Total Lines 36
Code Lines 16

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 16
c 1
b 0
f 0
dl 0
loc 36
rs 8.4444
cc 8
nc 1
nop 0
1
<?php
2
3
namespace Epesi\FileStorage;
4
5
use Epesi\Core\System\Integration\Modules\ModuleView;
6
use Illuminate\Support\Facades\Auth;
7
use Epesi\Core\Layout\Seeds\ActionBar;
8
9
class FileStorageList extends ModuleView
10
{
11
	protected $label = 'File Storage';
12
	
13
	public static function access()
14
	{
15
		return Auth::user()->can('modify system settings');
16
	}
17
	
18
	public function body()
19
	{
20
		ActionBar::addButton('back')->link(url('view/system'));
21
22
// 		$this->displayGrid();
23
	}
24
25
}
26