Skip to content

Commit 20f6de3

Browse files
committed
Merge pull request #2 from atomx/blocking-fix
Order of network/publisher/domain blocking api and naming
2 parents bdd31d5 + 6c34694 commit 20f6de3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Atomx/Resources/Profile.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ public function setBrowserTargeting($browsers)
4646

4747
public function setNetworkTargeting($action, $networks)
4848
{
49-
$this->network_filter = strtoupper($networks);
50-
$this->network_filter_action = $action;
49+
$this->network_filter = $networks;
50+
$this->network_filter_action = strtoupper($action);
5151
}
5252

5353
public function setPublisherTargeting($action, $publishers)
5454
{
55-
$this->publishers_filter = strtoupper($publishers);
56-
$this->publishers_filter_action = $action;
55+
$this->publishers_filter = $publishers;
56+
$this->publishers_filter_action = strtoupper($action);
5757
}
5858

5959
public function setDomainTargeting($action, $domains)
6060
{
61-
$this->domains_filter = strtoupper($domains);
62-
$this->domains_filter_action = $action;
61+
$this->domains_filter = $domains;
62+
$this->domains_filter_action = strtoupper($action);
6363
}
6464
}

0 commit comments

Comments
 (0)