Skip to content

Commit

Permalink
删除参数类型
Browse files Browse the repository at this point in the history
  • Loading branch information
fkwl committed Apr 29, 2019
1 parent 688f412 commit 734747d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @param string $name
* @param string $type
*/
function encore_tags(string $name, string $type)
function encore_tags($name, $type)
{
$entry_points_file = app()->getRootPath() . 'public/build/entrypoints.json';
if (file_exists($entry_points_file)) {
Expand All @@ -28,7 +28,7 @@ function encore_tags(string $name, string $type)
* link 标签
* @param string $name
*/
function encore_link_tags(string $name = '')
function encore_link_tags($name = '')
{
encore_tags($name, 'css');
}
Expand All @@ -37,7 +37,7 @@ function encore_link_tags(string $name = '')
* script 标签
* @param string $name
*/
function encore_script_tags(string $name = '')
function encore_script_tags($name = '')
{
encore_tags($name, 'js');
}

0 comments on commit 734747d

Please sign in to comment.