Skip to content

Commit c777bac

Browse files
committed
add auth facade to docblocks
1 parent 0d43e64 commit c777bac

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/repositories/auth.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,21 @@ interface Guard
4646
namespace Illuminate\\Http;
4747
4848
interface Request
49+
{
50+
/**
51+
* @return ${authenticatable}|null
52+
*/
53+
public function user();
54+
}`,
55+
},
56+
{
57+
file: "_facade.php",
58+
content: `
59+
<?php
60+
61+
namespace Illuminate\\Support\\Facades;
62+
63+
interface Auth
4964
{
5065
/**
5166
* @return ${authenticatable}|null

0 commit comments

Comments
 (0)