Contao3-Ninja/dlstats

[Insight] PHP code should follow PSR-1 basic coding standard - in classes/DlstatsHelper.php, line 383

Closed this issue · 0 comments

in classes/DlstatsHelper.php, line 383

Method names should be declared in camelCase. You should rename this method to comply with PSR-1.

     * 
     * @param string   User IP
     * @return boolean true when own IP found in localconfig definitions
     * @access protected
     */
    protected function CheckIPv4($UserIP = false)
    {
        // Check if IP present
        if ($UserIP === false)
        {
            return false; // No IP, no search.

Posted from SensioLabsInsight