From d0f8b5d816156ed635fa3f96c200cc2fcbd5a7b4 Mon Sep 17 00:00:00 2001 From: Nick Bartkowiak Date: Wed, 12 Jun 2013 22:05:22 -0500 Subject: [PATCH] Fixed an example in the readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7dfbcf5..9342667 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ Item Media Info $bitrate = $media->getBitrate(); // File - $file = $media->getFile(); + $file = reset($media->getFile()); $path = $file->getFile(); $size = $file->getSize();