Skip to content

Commit 116f214

Browse files
authored
[5.x] Fix facade PhpDocs for better understanding by Laravel Idea (#11798)
1 parent 8739cd6 commit 116f214

18 files changed

+20
-20
lines changed

src/Facades/Blink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @method static mixed once($key, callable $callable)
2525
* @method static mixed|\Spatie\Blink\Blink store($name = 'default')
2626
*
27-
* @see Statamic\Support\Blink
27+
* @see \Statamic\Support\Blink
2828
*/
2929
class Blink extends Facade
3030
{

src/Facades/Blueprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @method static \Illuminate\Support\Collection getAdditionalNamespaces()
2626
*
2727
* @see \Statamic\Fields\BlueprintRepository
28-
* @see \Statamic\Fields\Blueprint
28+
* @link \Statamic\Fields\Blueprint
2929
*/
3030
class Blueprint extends Facade
3131
{

src/Facades/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @method static \Illuminate\Support\Collection getComputedCallbacks($collection)
2323
*
2424
* @see CollectionRepository
25-
* @see \Statamic\Entries\Collection
25+
* @link \Statamic\Entries\Collection
2626
*/
2727
class Collection extends Facade
2828
{

src/Facades/Entry.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
* @method static void updateParents(\Statamic\Entries\Collection $collection, $ids = null)
2727
*
2828
* @see \Statamic\Stache\Repositories\EntryRepository
29-
* @see \Statamic\Stache\Query\EntryQueryBuilder
30-
* @see \Statamic\Entries\EntryCollection
31-
* @see \Statamic\Entries\Entry
29+
* @link \Statamic\Stache\Query\EntryQueryBuilder
30+
* @link \Statamic\Entries\EntryCollection
31+
* @link \Statamic\Entries\Entry
3232
*/
3333
class Entry extends Facade
3434
{

src/Facades/Fieldset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @method static void addNamespace(string $namespace, string $directory)
2020
*
2121
* @see \Statamic\Fields\FieldsetRepository
22-
* @see \Statamic\Fields\Fieldset
22+
* @link \Statamic\Fields\Fieldset
2323
*/
2424
class Fieldset extends Facade
2525
{

src/Facades/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @method static ExporterRepository exporters()
2121
*
2222
* @see \Statamic\Contracts\Forms\FormRepository
23-
* @see \Statamic\Forms\Form
23+
* @link \Statamic\Forms\Form
2424
*/
2525
class Form extends Facade
2626
{

src/Facades/FormSubmission.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @method static SubmissionContract make()
2020
*
2121
* @see \Statamic\Contracts\Forms\SubmissionRepository
22-
* @see \Statamic\Forms\Submission
22+
* @link \Statamic\Forms\Submission
2323
*/
2424
class FormSubmission extends Facade
2525
{

src/Facades/GlobalSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @method static void delete(\Statamic\Contracts\Globals\GlobalSet $global)
1515
*
1616
* @see \Statamic\Stache\Repositories\GlobalRepository
17-
* @see \Statamic\Globals\GlobalSet
17+
* @link \Statamic\Globals\GlobalSet
1818
*/
1919
class GlobalSet extends Facade
2020
{

src/Facades/GlobalVariables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @method static void delete(\Statamic\Globals\Variables $variable)
1515
*
1616
* @see \Statamic\Stache\Repositories\GlobalVariablesRepository
17-
* @see \Statamic\Globals\Variables
17+
* @link \Statamic\Globals\Variables
1818
*/
1919
class GlobalVariables extends Facade
2020
{

src/Facades/Revision.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @method static void delete(\Statamic\Contracts\Revisions\Revision $revision)
1515
*
1616
* @see \Statamic\Revisions\RevisionRepository
17-
* @see \Statamic\Revisions\Revision
17+
* @link \Statamic\Revisions\Revision
1818
*/
1919
class Revision extends Facade
2020
{

src/Facades/Role.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @method static void delete(\Statamic\Contracts\Auth\Role $role)
1616
*
1717
* @see \Statamic\Contracts\Auth\RoleRepository
18-
* @see \Statamic\Auth\Role
18+
* @link \Statamic\Auth\Role
1919
*/
2020
class Role extends Facade
2121
{

src/Facades/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @method static void deleteFromIndexes(Searchable $searchable)
1616
*
1717
* @see \Statamic\Search\Search
18-
* @see \Statamic\Search\Index
18+
* @link \Statamic\Search\Index
1919
*/
2020
class Search extends Facade
2121
{

src/Facades/StaticCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @method static void includeJs()
2222
*
2323
* @see StaticCacheManager
24-
* @see Cacher
24+
* @link Cacher
2525
*/
2626
class StaticCache extends Facade
2727
{

src/Facades/Structure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @method static void delete(Structure $structure)
1414
*
1515
* @see \Statamic\Contracts\Structures\StructureRepository
16-
* @see \Statamic\Structures\Structure
16+
* @link \Statamic\Structures\Structure
1717
*/
1818
class Structure extends Facade
1919
{

src/Facades/Taxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @method static additionalPreviewTargets(string $handle)
2121
*
2222
* @see \Statamic\Stache\Repositories\TaxonomyRepository
23-
* @see \Statamic\Taxonomies\Taxonomy
23+
* @link \Statamic\Taxonomies\Taxonomy
2424
*/
2525
class Taxonomy extends Facade
2626
{

src/Facades/Term.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @method static \Illuminate\Support\Collection applySubstitutions($items)
2525
*
2626
* @see \Statamic\Contracts\Taxonomies\TermRepository
27-
* @see \Statamic\Taxonomies\Term
27+
* @link \Statamic\Taxonomies\Term
2828
*/
2929
class Term extends Facade
3030
{

src/Facades/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @method static void computed(string|array $field, ?\Closure $callback = null)
2525
*
2626
* @see \Statamic\Contracts\Auth\UserRepository
27-
* @see \Statamic\Auth\User
27+
* @link \Statamic\Auth\User
2828
*/
2929
class User extends Facade
3030
{

src/Facades/UserGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @method static \Statamic\Fields\Blueprint blueprint()
1515
*
1616
* @see \Statamic\Contracts\Auth\UserGroupRepository
17-
* @see \Statamic\Auth\UserGroup
17+
* @link \Statamic\Auth\UserGroup
1818
*/
1919
class UserGroup extends Facade
2020
{

0 commit comments

Comments
 (0)