Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in namespace casing in PHP sample #875

Open
rkaiser0324 opened this issue Mar 18, 2021 · 0 comments
Open

Typo in namespace casing in PHP sample #875

rkaiser0324 opened this issue Mar 18, 2021 · 0 comments

Comments

@rkaiser0324
Copy link

In https://github.com/TwilioDevEd/api-snippets/blob/master/rest/messages/generate-twiml-sms/generate-twiml-sms.5.x.php, it says

<?php
// Get the PHP helper library from https://twilio.com/docs/libraries/php

require_once 'vendor/autoload.php'; // Loads the library
use Twilio\Twiml\MessagingResponse;

The last line should be:

use Twilio\TwiML\MessagingResponse;

The casing is wrong.

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

No branches or pull requests

3 participants
@rkaiser0324 and others