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.
13 class A
implements I
{
14 public function get(): void
{}
16 class B
implements I
{
17 public function get(): void
{}
21 function bar(): void
{
22 $x = true ?
new A() : new B();