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 c3d46a0 commit e7e815eCopy full SHA for e7e815e
src/Relations/EmbedsMany.php
@@ -11,13 +11,15 @@
11
use MongoDB\BSON\ObjectID;
12
use MongoDB\Driver\Exception\LogicException;
13
use MongoDB\Laravel\Eloquent\Model as MongoDBModel;
14
+use Throwable;
15
16
use function array_key_exists;
17
use function array_values;
18
use function count;
19
use function in_array;
20
use function is_array;
21
use function method_exists;
22
+use function throw_if;
23
24
class EmbedsMany extends EmbedsOneOrMany
25
{
@@ -199,7 +201,7 @@ public function destroy($ids = [])
199
201
*
200
202
* @param null $id
203
- * @throws LogicException|\Throwable
204
+ * @throws LogicException|Throwable
205
206
* @note The $id is not used to delete embedded models.
207
*/
0 commit comments