WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/15/2019 12:15:08 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory.

Props andizer.
Fixes #46504.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/factory/class-wp-unittest-generator-sequence.php

    r42343 r44903  
    66    public $template_string;
    77
    8     function __construct( $template_string = '%s', $start = null ) {
     8    public function __construct( $template_string = '%s', $start = null ) {
    99        if ( $start ) {
    1010            $this->next = $start;
     
    1616    }
    1717
    18     function next() {
     18    public function next() {
    1919        $generated = sprintf( $this->template_string, $this->next );
    2020        $this->next++;
Note: See TracChangeset for help on using the changeset viewer.