PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/CodeAnalysis/UnnecessaryFinalModifierStandard.xml

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/CodeAnalysis/UnnecessaryFinalModifierStandard.xml   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/CodeAnalysis/UnnecessaryFinalModifierStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CodeIgniter Plugin for Z-Ray
Show CodeIgniter application information in Z-Ray
Author: By
Last change:
Date: 2 years ago
Size: 631 bytes
 

Contents

Class file image Download
<documentation title="Unnecessary Final Modifiers"> <standard> <![CDATA[ Methods should not be declared final inside of classes that are declared final. ]]> </standard> <code_comparison> <code title="Valid: A method in a final class is not marked final."> <![CDATA[ final class Foo { public function bar() { } } ]]> </code> <code title="Invalid: A method in a final class is also marked final."> <![CDATA[ final class Foo { public <em>final</em> function bar() { } } ]]> </code> </code_comparison> </documentation>