@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @return bool |
|
85 | + * @return string|boolean |
|
86 | 86 | */ |
87 | 87 | public static function value($key = null) |
88 | 88 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | /** |
97 | 97 | * @param $key |
98 | 98 | * |
99 | - * @return string|static |
|
99 | + * @return string |
|
100 | 100 | */ |
101 | 101 | public static function formatDate($key) |
102 | 102 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | /** |
111 | 111 | * @param $value |
112 | 112 | * |
113 | - * @return mixed |
|
113 | + * @return string |
|
114 | 114 | */ |
115 | 115 | public static function formatMoney($value) |
116 | 116 | { |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | * @param $expires |
254 | 254 | * @param $secret |
255 | 255 | * |
256 | - * @return mixed |
|
256 | + * @return string |
|
257 | 257 | */ |
258 | 258 | private static function getIv($expires, $secret) |
259 | 259 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | class Application |
14 | 14 | { |
15 | 15 | public $capsuleDb = []; |
16 | - public $cache , $session; |
|
16 | + public $cache, $session; |
|
17 | 17 | private static $instance; |
18 | 18 | |
19 | 19 | public function __construct() |
@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | class Migration extends MigrationDatabase |
9 | 9 | { |
10 | - public $schema , $application; |
|
10 | + public $schema, $application; |
|
11 | 11 | |
12 | 12 | public function __construct() |
13 | 13 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | protected $blade; |
15 | 15 | |
16 | - public $framework , $request , $response , $params; |
|
16 | + public $framework, $request, $response, $params; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Controller constructor. |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | class Paginate extends Controller |
8 | 8 | { |
9 | - public $perPage, $currentPage, $total , $maxPage , $items , $skip; |
|
9 | + public $perPage, $currentPage, $total, $maxPage, $items, $skip; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Paginate constructor. |
@@ -24,7 +24,7 @@ |
||
24 | 24 | { |
25 | 25 | DB::schema()->dropIfExists($this->tableName); |
26 | 26 | |
27 | - return DB::schema()->create($this->tableName, function ($table) { |
|
27 | + return DB::schema()->create($this->tableName, function($table) { |
|
28 | 28 | $table->increments('id'); |
29 | 29 | $table->enum('priority', ['user', 'admin'])->default('user'); |
30 | 30 | $table->string('first_name'); |
@@ -1,4 +1,4 @@ |
||
1 | 1 | </div> |
2 | 2 | <div class="content"> |
3 | - © <?php echo date('Y');?>. {{$framework->title}}- by <a href="http://adrielov.com.br" class="navbar-link" target="_blank">Adriel Oliveira</a> |
|
3 | + © <?php echo date('Y'); ?>. {{$framework->title}}- by <a href="http://adrielov.com.br" class="navbar-link" target="_blank">Adriel Oliveira</a> |
|
4 | 4 | </div> |