Page MenuHomeWickedGov Phorge

FileWithoutDeprecatedCode.php
No OneTemporary

Size
443 B
Referenced Files
None
Subscribers
None

FileWithoutDeprecatedCode.php

<?php
namespace MediaWiki\Tests\Data\FindDeprecated;
/**
* Class without any deprecated code
*/
class FileWithoutDeprecatedCode {
/**
* This method is not deprecated :D
*
* @param string $param
* @return string
*/
public function testMethodOne( string $param ) {
return trim( $param );
}
public function testMethodTwo(): string {
// Call a wf* method that is not wfDeprecated.
wfDebug( "test" );
return "test";
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 03:14 (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/23/6e59c64f320103abb0d16ee913e6
Default Alt Text
FileWithoutDeprecatedCode.php (443 B)

Event Timeline