Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Commit

Permalink
Looser types
Browse files Browse the repository at this point in the history
  • Loading branch information
rune.laenen committed Jun 15, 2021
1 parent 3f1c046 commit 3d46b3d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Rune Laenen
Copyright (c) 2021 Rune Laenen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
11 changes: 9 additions & 2 deletions src/Custom/Banner/AdvancedBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ class AdvancedBanner extends Entity
{
use EntityIdTrait;

protected string $technicalName;
protected array $data;
/**
* @var string
*/
protected $technicalName;

/**
* @var array
*/
protected $data;

public function getTechnicalName(): string
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,15 @@

class AdvancedBannerTranslationEntity extends TranslationEntity
{
protected string $rlAbBannerId;
protected array $data;
/**
* @var string
*/
protected $rlAbBannerId;

/**
* @var array
*/
protected $data;
protected ?AdvancedBanner $rlAbBanner;

public function getRlAbBannerId(): string
Expand Down

0 comments on commit 3d46b3d

Please sign in to comment.