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