Browse Source

待废弃方法标记以及版本号更新

jqh 5 years ago
parent
commit
1a1008e959
2 changed files with 3 additions and 1 deletions
  1. 2 1
      src/Admin.php
  2. 1 0
      src/Show/Panel.php

+ 2 - 1
src/Admin.php

@@ -35,7 +35,7 @@ class Admin
      *
      * @var string
      */
-    const VERSION = '1.4.0';
+    const VERSION = '1.4.5';
 
     /**
      * @var array
@@ -133,6 +133,7 @@ class Admin
      * @param Closure $callable
      *
      * @return Content
+     * @deprecated
      */
     public static function content(Closure $callable = null)
     {

+ 1 - 0
src/Show/Panel.php

@@ -95,6 +95,7 @@ class Panel implements Renderable
      * @param string $style
      *
      * @return $this
+     * @deprecated
      */
     public function style($style = 'info')
     {