Commit b856b4bc authored by catch's avatar catch
Browse files

Issue #3467405 by quietone, smustgrave: Missing @var annotation for properties...

Issue #3467405 by quietone, smustgrave: Missing @var annotation for properties that provide default values

(cherry picked from commit a7180bf1)
parent 093a53b9
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@ class DateTimePlus {

  /**
   * An array of possible date parts.
   *
   * @var string[]
   */
  protected static $dateParts = [
    'year',
@@ -108,11 +110,15 @@ class DateTimePlus {

  /**
   * The value of the language code passed to the constructor.
   *
   * @var string|null
   */
  protected $langcode = NULL;

  /**
   * An array of errors encountered when creating this date.
   *
   * @var string[]
   */
  protected $errors = [];

+2 −0
Original line number Diff line number Diff line
@@ -67,6 +67,8 @@ class PhpTransliteration implements TransliterationInterface {
   * transliterates to more than one ASCII character require special
   * treatment: we want to remove their accent and use the un-
   * transliterated base character.
   *
   * @var string[]
   */
  protected $fixTransliterateForRemoveDiacritics = [
    'AE' => 'Æ',
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ class CheckProvider implements CheckProviderInterface {

  /**
   * Array of access checks which only will be run on the incoming request.
   *
   * @var string[]
   */
  protected $checksNeedsRequest = [];

+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@ class MemoryBackend implements CacheBackendInterface, CacheTagsInvalidatorInterf

  /**
   * Array to store cache objects.
   *
   * @var object[]
   */
  protected $cache = [];

+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ class PhpBackend implements CacheBackendInterface {

  /**
   * Array to store cache objects.
   *
   * @var object[]
   */
  protected $cache = [];

Loading