|
@@ -1,6 +1,6 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
2
|
|
|
3
|
|
-declare( strict_types = 1 ); |
|
|
3
|
+declare(strict_types=1); |
|
4
|
4
|
|
|
5
|
5
|
namespace WMDE\BannerServer\Tests\Unit\Utils; |
|
6
|
6
|
|
|
@@ -90,7 +90,7 @@ discard block |
|
|
block discarded – undo |
|
90
|
90
|
$collection = $loader->getCampaignCollection(); |
|
91
|
91
|
// Using $campaign->isInDisplayRange instead of private property access wouldn't test reliably for null values, |
|
92
|
92
|
// adding getters for min/max width would break domain encapsulation, so we're cheating here in the test |
|
93
|
|
- $readPrivateProperty = Closure::bind( static function ( Campaign $campaign, string $propertyName ) { |
|
|
93
|
+ $readPrivateProperty = Closure::bind( static function( Campaign $campaign, string $propertyName ) { |
|
94
|
94
|
return $campaign->$propertyName; |
|
95
|
95
|
}, null, Campaign::class ); |
|
96
|
96
|
|
Please login to merge, or discard this patch.