From 15327fe969eb4bf8ee761c24fe6324d131de9374 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Fri, 18 Dec 2020 05:17:12 +0900 Subject: [PATCH] Fix typo in ArrayableTrait.php embeded -> embedded --- framework/base/ArrayableTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/ArrayableTrait.php b/framework/base/ArrayableTrait.php index 727d71b4cf..985ce8a03a 100644 --- a/framework/base/ArrayableTrait.php +++ b/framework/base/ArrayableTrait.php @@ -103,7 +103,7 @@ trait ArrayableTrait * This method will first identify which fields to be included in the resulting array by calling [[resolveFields()]]. * It will then turn the model into an array with these fields. If `$recursive` is true, * any embedded objects will also be converted into arrays. - * When embeded objects are [[Arrayable]], their respective nested fields will be extracted and passed to [[toArray()]]. + * When embedded objects are [[Arrayable]], their respective nested fields will be extracted and passed to [[toArray()]]. * * If the model implements the [[Linkable]] interface, the resulting array will also have a `_link` element * which refers to a list of links as specified by the interface.