Skip to content

Commit 7f01e12

Browse files
committed
docs: remove duplicated return
1 parent 85e0d8b commit 7f01e12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/tutorial/news_section.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ following code to your model.
111111
return $this->findAll();
112112
}
113113

114-
return return $this->where(['slug' => $slug])->first();
114+
return $this->where(['slug' => $slug])->first();
115115
}
116116

117117
With this code, you can perform two different queries. You can get all

0 commit comments

Comments
 (0)