diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-07-07 19:16:45 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-07-09 22:45:05 +0100 |
| commit | 60bc3e3fa6818f7ba65df666d54efde701a9fe49 (patch) | |
| tree | 3fa153b76ef02adee9b6c3c6ed2e134d02611a19 /app/User.php | |
| parent | 04ade2e62ee0e043b2d6b2b97a8337e230c202c8 (diff) | |
| download | webtrees-60bc3e3fa6818f7ba65df666d54efde701a9fe49.tar.gz webtrees-60bc3e3fa6818f7ba65df666d54efde701a9fe49.tar.bz2 webtrees-60bc3e3fa6818f7ba65df666d54efde701a9fe49.zip | |
PHPDoc
Diffstat (limited to 'app/User.php')
| -rw-r--r-- | app/User.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/User.php b/app/User.php index e54b2868f6..fb36eafa4b 100644 --- a/app/User.php +++ b/app/User.php @@ -15,6 +15,8 @@ */ namespace Fisharebest\Webtrees; +use stdclass; + /** * Provide an interface to the wt_user table. */ @@ -281,9 +283,9 @@ class User { /** * Create a new user object from a row in the database. * - * @param \stdclass $user A row from the wt_user table + * @param stdclass $user A row from the wt_user table */ - public function __construct(\stdClass $user) { + public function __construct(stdClass $user) { $this->user_id = $user->user_id; $this->user_name = $user->user_name; $this->real_name = $user->real_name; |
