Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit370d614

Browse files
committed
[Cookbook][Test]fix sample code
1 parentb4938a8 commit370d614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cookbook/testing/profiling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ finish. It's easy to achieve if you embed the token in the error message::
5151

5252
$this->assertLessThan(
5353
30,
54-
$profile->get('db')->getQueryCount(),
54+
$profile->getCollector('db')->getQueryCount(),
5555
sprintf(
5656
'Checks that query count is less than 30 (token %s)',
5757
$profile->getToken()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp