mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 19:07:00 +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';
|
||
|
}
|