Skip to content

Fix non-runnable code examples (undefined variables, syntax errors)#32

Open
lacatoire wants to merge 1 commit into
masterfrom
fix/non-runnable-examples
Open

Fix non-runnable code examples (undefined variables, syntax errors)#32
lacatoire wants to merge 1 commit into
masterfrom
fix/non-runnable-examples

Conversation

@lacatoire
Copy link
Copy Markdown
Owner

This fixes a batch of code examples that cannot run as written: undefined
variables (missing $ sigil or a variable name that does not match the one
declared), a few syntax errors (a missing ;, a stray ., a = instead of
=>, an unterminated string), a Cyrillic homoglyph in a type hint, and a
couple of new calls referencing the wrong class name.

Each change only touches the example so it parses and runs as intended.

Part of #14.

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.

1 participant