Skip to content

Commit 9ff4933

Browse files
Diana Marsalafacebook-github-bot
authored andcommitted
add coeffects to CoreDataType::__shouldKBIC
Summary: this enables us to remove KBIC Differential Revision: D76768905 fbshipit-source-id: 590adee71f26a8e9eace12b7061c5a0bb4ba8e62
1 parent 5d7f7cb commit 9ff4933

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

third-party/thrift/src/thrift/lib/hack/src/ThriftContextPropState.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class ThriftContextPropState {
2929
public static ?bool $setFBUserIdInPSP = null;
3030
public static ?bool $setIGUserIdInPSP = null;
3131

32-
private function __construct()[write_props, zoned_shallow] {
32+
private function __construct()[write_props] {
3333
$this->storage = ThriftFrameworkMetadata::withDefaultValues();
3434
$this->serializedStorage = dict[];
3535
}
@@ -304,8 +304,7 @@ private static function coerceId(?int $id): ?int {
304304
/**
305305
* Returns the ThriftContextPropState singleton
306306
*/
307-
public static function get(
308-
)[globals, write_props, zoned_shallow]: ThriftContextPropState {
307+
public static function get()[globals, write_props]: ThriftContextPropState {
309308
if (self::$instance === null) {
310309
self::$instance = new ThriftContextPropState();
311310
}
@@ -547,7 +546,7 @@ public function addExperimentId(int $eid): void {
547546
$this->dirty();
548547
}
549548

550-
public function setExperimentIds(vec<int> $eids): void {
549+
public function setExperimentIds(vec<int> $eids)[write_props]: void {
551550
$this->storage->experiment_ids = $eids;
552551
$this->dirty();
553552
}

0 commit comments

Comments
 (0)