We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44eec45 commit edf287eCopy full SHA for edf287e
src/Persistence/PersistenceManager.php
@@ -76,7 +76,11 @@ public function save(object $object): object
76
}
77
78
/**
79
- * @param callable():mixed $callback
+ * @template T
80
+ *
81
+ * @param callable():T $callback
82
83
+ * @return T
84
*/
85
public function flushAfter(callable $callback): mixed
86
{
src/Persistence/functions.php
@@ -149,7 +149,11 @@ function delete(object $object): object
149
150
151
152
153
154
155
156
157
158
function flush_after(callable $callback): mixed
159
0 commit comments