PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/UnnecessaryFinalModifierStandard.xml

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/UnnecessaryFinalModifierStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/UnnecessaryFinalModifierStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year 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>