BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
MediaWiki\Sniffs\Usage\ScalarTypeHintUsageSniff Class Reference
Inheritance diagram for MediaWiki\Sniffs\Usage\ScalarTypeHintUsageSniff:
Collaboration diagram for MediaWiki\Sniffs\Usage\ScalarTypeHintUsageSniff:

Public Member Functions

 register ()
 
 process (File $phpcsFile, $stackPtr)
 

Member Function Documentation

MediaWiki\Sniffs\Usage\ScalarTypeHintUsageSniff::process ( File  $phpcsFile,
  $stackPtr 
)

If the type-hint is bad, raise an error

Parameters
File$phpcsFileFile
int$stackPtrposition

Implements PHP_CodeSniffer\Sniffs\Sniff.

MediaWiki\Sniffs\Usage\ScalarTypeHintUsageSniff::register ( )

Run on functions

Returns
array

Implements PHP_CodeSniffer\Sniffs\Sniff.


The documentation for this class was generated from the following file: