2017-03-19 20:37:07 +01:00
|
|
|
<?php
|
|
|
|
namespace Foo;
|
|
|
|
|
2019-03-23 19:27:54 +01:00
|
|
|
const BAR = 'bat';
|
2018-08-08 22:13:37 +02:00
|
|
|
|
2019-03-23 19:27:54 +01:00
|
|
|
class SystemClass
|
|
|
|
{
|
2017-03-19 20:37:07 +01:00
|
|
|
const HELLO = 'hello';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int $a
|
|
|
|
* @param string $b
|
2019-03-23 19:27:54 +01:00
|
|
|
*
|
2017-03-19 20:37:07 +01:00
|
|
|
*/
|
2020-09-12 17:24:05 +02:00
|
|
|
public function foo($a, $b): string
|
2019-03-23 19:27:54 +01:00
|
|
|
{
|
|
|
|
}
|
2017-03-19 20:37:07 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int $a
|
|
|
|
* @param string $b
|
2019-03-23 19:27:54 +01:00
|
|
|
*
|
2017-03-19 20:37:07 +01:00
|
|
|
*/
|
2020-09-12 17:24:05 +02:00
|
|
|
public static function bar($a, $b): string
|
2019-03-23 19:27:54 +01:00
|
|
|
{
|
|
|
|
}
|
2017-03-19 20:37:07 +01:00
|
|
|
}
|