mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 16:59:45 +01:00
24 lines
259 B
PHP
24 lines
259 B
PHP
|
<?php
|
||
|
namespace Vimeo\Test\DummyProject;
|
||
|
|
||
|
class Bar
|
||
|
{
|
||
|
use SomeTrait;
|
||
|
|
||
|
/** @var string */
|
||
|
public $x;
|
||
|
|
||
|
public function __construct()
|
||
|
{
|
||
|
$this->x = 'hello';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return void
|
||
|
*/
|
||
|
function someFunction()
|
||
|
{
|
||
|
echo 'here';
|
||
|
}
|