Skip to content

Commit

Permalink
Improve constants visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Mar 18, 2024
1 parent d6a0747 commit 1ed9d5f
Show file tree
Hide file tree
Showing 46 changed files with 130 additions and 130 deletions.
2 changes: 1 addition & 1 deletion src/Model/Actor.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Actor extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "actor";
public const DOM_NODE_NAME = "actor";

/**
* Role.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Adapter extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "adapter";
public const DOM_NODE_NAME = "adapter";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Aspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Aspect extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "aspect";
public const DOM_NODE_NAME = "aspect";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Audio extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "audio";
public const DOM_NODE_NAME = "audio";

/**
* Stereo.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Category extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "category";
public const DOM_NODE_NAME = "category";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Channel extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "channel";
public const DOM_NODE_NAME = "channel";

/**
* Constructor.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Colour.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Colour extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "colour";
public const DOM_NODE_NAME = "colour";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Commentator.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Commentator extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "commentator";
public const DOM_NODE_NAME = "commentator";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Composer extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "composer";
public const DOM_NODE_NAME = "composer";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Country extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "country";
public const DOM_NODE_NAME = "country";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Credits.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Credits extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "credits";
public const DOM_NODE_NAME = "credits";

/**
* Constructor.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Date extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "date";
public const DOM_NODE_NAME = "date";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Desc.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Desc extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "desc";
public const DOM_NODE_NAME = "desc";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Director.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Director extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "director";
public const DOM_NODE_NAME = "director";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/DisplayName.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class DisplayName extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "display-name";
public const DOM_NODE_NAME = "display-name";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Editor extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "editor";
public const DOM_NODE_NAME = "editor";

/**
* {@inheritDoc}
Expand Down
6 changes: 3 additions & 3 deletions src/Model/EpisodeNum.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ class EpisodeNum extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "episode-num";
public const DOM_NODE_NAME = "episode-num";

/**
* SYSTEM "onscreen".
*
* @var string
*/
const SYSTEM_ONSCREEN = "onscreen";
public const SYSTEM_ONSCREEN = "onscreen";

/**
* System "deaf signed".
*
* @var string
*/
const SYSTEM_XMLTV_NS = "xmltv_ns";
public const SYSTEM_XMLTV_NS = "xmltv_ns";

/**
* Enumerate the system.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Guest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Guest extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "guest";
public const DOM_NODE_NAME = "guest";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Icon extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "icon";
public const DOM_NODE_NAME = "icon";

/**
* Source.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Keyword.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Keyword extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "keyword";
public const DOM_NODE_NAME = "keyword";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Language extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "language";
public const DOM_NODE_NAME = "language";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/LastChance.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class LastChance extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "last-chance";
public const DOM_NODE_NAME = "last-chance";

/**
* {@inheritDoc}
Expand Down
8 changes: 4 additions & 4 deletions src/Model/Length.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,28 @@ class Length extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "length";
public const DOM_NODE_NAME = "length";

/**
* Units "hours".
*
* @var string
*/
const UNITS_HOURS = "hours";
public const UNITS_HOURS = "hours";

/**
* Units "minutes".
*
* @var string
*/
const UNITS_MINUTES = "minutes";
public const UNITS_MINUTES = "minutes";

/**
* Units "seconds".
*
* @var string
*/
const UNITS_SECONDS = "seconds";
public const UNITS_SECONDS = "seconds";

/**
* Units.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/OrigLanguage.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class OrigLanguage extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "orig-language";
public const DOM_NODE_NAME = "orig-language";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Premiere.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Premiere extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "premiere";
public const DOM_NODE_NAME = "premiere";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Present.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Present extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "present";
public const DOM_NODE_NAME = "present";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Presenter extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "presenter";
public const DOM_NODE_NAME = "presenter";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/PreviouslyShown.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PreviouslyShown extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "previously-shown";
public const DOM_NODE_NAME = "previously-shown";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Producer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Producer extends AbstractCredit {
*
* @var string
*/
const DOM_NODE_NAME = "producer";
public const DOM_NODE_NAME = "producer";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Programme.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Programme extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "programme";
public const DOM_NODE_NAME = "programme";

/**
* Audio.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Quality.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Quality extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "quality";
public const DOM_NODE_NAME = "quality";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Rating.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Rating extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "rating";
public const DOM_NODE_NAME = "rating";

/**
* Constructor.
Expand Down
6 changes: 3 additions & 3 deletions src/Model/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ class Review extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "review";
public const DOM_NODE_NAME = "review";

/**
* Type "text".
*
* @var string
*/
const TYPE_TEXT = "text";
public const TYPE_TEXT = "text";

/**
* Type "url".
*
* @var string
*/
const TYPE_URL = "url";
public const TYPE_URL = "url";

/**
* Reviewer.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/SecondaryTitle.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SecondaryTitle extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "sub-title";
public const DOM_NODE_NAME = "sub-title";

/**
* {@inheritDoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/StarRating.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class StarRating extends AbstractModel {
*
* @var string
*/
const DOM_NODE_NAME = "star-rating";
public const DOM_NODE_NAME = "star-rating";

/**
* Constructor.
Expand Down
Loading

0 comments on commit 1ed9d5f

Please sign in to comment.