3 * Copyright (c) 2014, Facebook, Inc.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
12 class UnrelatedParent
{}
15 public function foo(): void
{}
19 public function foo(): void
{}
22 trait UnrelatedTrait
{}
25 public function bar(): void
;
28 class CTrait
extends UnrelatedParent
implements I
{
32 public function foo(): void
{}
34 public function bar(): void
{}
37 class CParentAndTrait
extends CParent
implements I
{
42 public function foo(): void
{}
44 public function bar(): void
{}