update bug daashboards
This commit is contained in:
16
vendor/knuckleswtf/scribe/src/Attributes/Deprecated.php
vendored
Normal file
16
vendor/knuckleswtf/scribe/src/Attributes/Deprecated.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Knuckles\Scribe\Attributes;
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_FUNCTION | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
||||
class Deprecated
|
||||
{
|
||||
public function __construct(
|
||||
public bool|string|null $deprecated = true,
|
||||
) {}
|
||||
|
||||
public function toArray()
|
||||
{
|
||||
return ['deprecated' => $this->deprecated];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user