Skip to content

Commit

Permalink
➕ chore: update composer depdencies, update annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cambis committed Jul 14, 2024
1 parent 7324100 commit af29a60
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build/composer-php-81.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
],
"require": {
"php": "^8.1",
"silverstripe/admin": "^1.0 || ^2.0",
"silverstripe/framework": "^4.0 || ^5.0",
"silverstripe/siteconfig": "^4.0 || ^5.0",
"symbiote/silverstripe-gridfieldextensions": "^3.0 || ^4.0"
},
"minimum-stability": "dev",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
],
"require": {
"php": "^8.3",
"silverstripe/admin": "^1.0 || ^2.0",
"silverstripe/framework": "^4.0 || ^5.0",
"silverstripe/siteconfig": "^4.0 || ^5.0",
"symbiote/silverstripe-gridfieldextensions": "^3.0 || ^4.0"
},
"require-dev": {
Expand Down
8 changes: 0 additions & 8 deletions src/Concern/MessageFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
use SilverStripe\Forms\TextField;
use function array_filter;

/**
* @property string $Msg
* @property string $Msgmore
* @property string $Bupdate
* @property string $Bignore
* @property string $Remind
* @property string $Bnever
*/
trait MessageFields
{
/**
Expand Down
9 changes: 8 additions & 1 deletion src/Model/Announcement.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
use SilverStripe\Security\PermissionProvider;

/**
* @property string $Name
* @property string $Msg
* @property string $Msgmore
* @property string $Bupdate
* @property string $Bignore
* @property string $Remind
* @property string $Bnever
* @property int $Reminder
* @property int $ReminderClosed
* @property bool $Test
Expand Down Expand Up @@ -61,7 +68,7 @@ class Announcement extends DataObject implements BrowserUpdateInterface, Permiss
];

/**
* @var array<mixed>
* @var mixed[]
*/
private static array $defaults = [
'Msg' => 'Your web browser ({brow_name}) is out of date.',
Expand Down
8 changes: 7 additions & 1 deletion src/Model/BrowserVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
/**
* @property string $Browser
* @property float $Version
* @method Announcement Announcement()
* @property string $Msg
* @property string $Msgmore
* @property string $Bupdate
* @property string $Bignore
* @property string $Remind
* @property string $Bnever
* @property int $AnnouncementID
* @method Announcement Announcement()
*/
class BrowserVersion extends DataObject implements BrowserUpdateInterface
{
Expand Down

0 comments on commit af29a60

Please sign in to comment.