bug (typo) in BackendlessCollection.php

Found this while reading trough the code:


static public function prepareSingleItem( $data_item, $convert_type ) {
 
 $collection_item = new BackendlessCollection( $data_item );
 
 switch ( $convert_type ) {
 
 case "std_class": return $collection_item->convertToStdClasses();
 case "user_calss": return $collection_item->convertToUserClasses(); 
 case "array": return $collection_item->convertToArray();
 
 }
 
 }

user_calss should be user_class

EDIT: This is from the PHP SDK that I downloaded via the download link on your website.

Hi Barry,
We would be grateful if you prepare a pull request to PHP SDK or at least create an issue on GitHub tracker :slight_smile:

Hi Sergey,

I just checked, but the typo has already been fixed in the current master.

?

It is already patched in the official master, nothing I can do :slight_smile:

Ok, sorry I missed that :slight_smile: