Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Optimize conditions #889

Merged
merged 1 commit into from
Jul 12, 2021
Merged

Optimize conditions #889

merged 1 commit into from
Jul 12, 2021

Conversation

lucasmichot
Copy link
Collaborator

This PR optimizes many conditions.

if ($this->agent->is('UCBrowser') &&
$browser['float'] > 12.13
) {
if ($browser['float'] > 12.13 && $this->agent->is('UCBrowser')) {
$compatible = true;
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think this file is used anymore... I'll double check and remove later.

@gnikyt gnikyt merged commit ce73775 into gnikyt:master Jul 12, 2021
@lucasmichot lucasmichot deleted the optimize-conditions branch July 16, 2021 06:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants