Contao3-Ninja / dlstats

Contao Module dlstats - Counts the number of file downloads
http://contao.ninja/download-statistik-dlstats.html
GNU Lesser General Public License v3.0
4 stars 0 forks source link

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

Closed BugBuster1701 closed 9 years ago

BugBuster1701 commented 9 years ago

in classes/DlstatsHelper.php, line 350

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 CheckIPv6($UserIP = false)
    {
        // Check if IP present
        if ($UserIP === false)
        {
            return false; // No IP, no search.

Posted from SensioLabsInsight