Skip to content

Fix method call in example to be PHP-like - #44

Open
jaroslavtyc wants to merge 1 commit into
knpuniversity:masterfrom
jaroslavtyc:patch-1
Open

Fix method call in example to be PHP-like#44
jaroslavtyc wants to merge 1 commit into
knpuniversity:masterfrom
jaroslavtyc:patch-1

Conversation

@jaroslavtyc

Copy link
Copy Markdown

Fix method call in example to be PHP-like instead of JS-like.

BTW note somewhere that it mimic jQuery interface plus some "equal to jQuery" example would be helpful for newbies.

Fix method call in example to be PHP-like instead of JS-like.

BTW note somewhere that it mimic jQuery interface plus some "equal to jQuery" example would be helpful for newbies.
Comment thread knpu/mink.rst
a ``NodeElement``, you can find more elements deeper inside of it::

$spanEle = $anchorElement.find('css', 'span.emph');
$spanEle = $anchorElement->find('css', 'span.emph');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also fix the var name to $anchorEle to match the var name from the above... or even better fix the var name above to $anchorElement instead. Wdyt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants