Skip to content

Commit

Permalink
Set type hint for property
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin1982 committed Jul 15, 2021
1 parent 4a53698 commit 2e2854e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Validator/Constraints/CanStreamToChannel.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php declare(strict_types=1);

/**
* live-broadcast-bundle - All rights reserved
* live-broadcast-bundle - All rights reserved.
*/
namespace Martin1982\LiveBroadcastBundle\Validator\Constraints;

use Symfony\Component\Validator\Constraint;

/**
* Class CanStreamToChannel
* Class CanStreamToChannel.
*
* @Annotation
*/
Expand All @@ -17,7 +17,7 @@ class CanStreamToChannel extends Constraint
/**
* @var string
*/
public $message = 'Unable to stream because the channel {{ reason }}';
public string $message = 'Unable to stream because the channel {{ reason }}';

/**
* {@inheritDoc}
Expand Down

0 comments on commit 2e2854e

Please sign in to comment.