Skip to content

Commit

Permalink
EZP-27420: Use language code's over id's for SPI VersionInfo (#1997)
Browse files Browse the repository at this point in the history
* EZP-27420: Use language code's over id's for SPI VersionInfo

* EZP-27420: Adapt unit tests for new VersionInfo property

* CS

[skip ci]
  • Loading branch information
andrerom committed May 30, 2017
1 parent 9720a2f commit 881cbb8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Persistence/Content/VersionInfo.php
Expand Up @@ -94,15 +94,16 @@ class VersionInfo extends ValueObject
/**
* In 4.x this is the language code which is used for labeling a translation.
*
* @var int
* @var string
*/
public $initialLanguageCode;

/**
* List of languages in this version
* List of languages in this version.
*
* Reflects which languages fields exists in for this version.
*
* @var int[]
* @var string[]
*/
public $languageIds = array();
public $languageCodes = array();
}

0 comments on commit 881cbb8

Please sign in to comment.