Make WordPress Core


Ignore:
Timestamp:
03/15/2019 12:15:08 PM (7 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-factory.php

    r42343 r44903  
    5959        public $network;
    6060
    61         function __construct() {
     61        public function __construct() {
    6262                $this->post       = new WP_UnitTest_Factory_For_Post( $this );
    6363                $this->attachment = new WP_UnitTest_Factory_For_Attachment( $this );
Note: See TracChangeset for help on using the changeset viewer.