Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7407600
CommandCompatibility.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
872 B
Referenced Files
None
Subscribers
None
CommandCompatibility.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Doctrine\DBAL\Tools\Console\Command
;
use
ReflectionMethod
;
use
Symfony\Component\Console\Command\Command
;
use
Symfony\Component\Console\Input\InputInterface
;
use
Symfony\Component\Console\Output\OutputInterface
;
if
((
new
ReflectionMethod
(
Command
::
class
,
'execute'
))->
hasReturnType
())
{
/** @internal */
trait
CommandCompatibility
{
protected
function
execute
(
InputInterface
$input
,
OutputInterface
$output
):
int
{
return
$this
->
doExecute
(
$input
,
$output
);
}
}
}
else
{
/** @internal */
trait
CommandCompatibility
{
/**
* {@inheritDoc}
*
* @return int
*/
protected
function
execute
(
InputInterface
$input
,
OutputInterface
$output
)
{
return
$this
->
doExecute
(
$input
,
$output
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 21:04 (1 d, 11 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6e/cc/e7a3cb1bf62b0dc3d68639ab8294
Default Alt Text
CommandCompatibility.php (872 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment